/* My Account - Dogs */
.qc-dog-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1.15fr 0.8fr 156px;
    align-items: center;
    column-gap: 20px;
    padding: 0;
    border-bottom: 1px solid #ddd;
}
.qc-dog-selection{
    display: grid;
    grid-template-columns: 1fr 126px;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}
.qc-dog-selection .qc-btn-add-dog {
    margin-top: 18px;
    border-bottom: solid 3px #ffd100;
    font-weight: 700;
}
.qc-my-dogs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.qc-my-dogs-header .button {
    background: #ffd100 !important;
    color: #002842 !important;
    transform: translateY(-2px);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    gap: 6px;
    line-height: 1;
    align-items: center;
    padding: 12px 25px;
    font-size: 14px;
}
.qc-my-dogs-header .button {
    background: #ffd100 !important;
    color: #002842 !important;
    transform: translateY(-2px);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    gap: 6px;
    line-height: 1;
    align-items: center;
    padding: 13px 26px;
}
.qc-dog-header {
    padding-top: 0;
    padding-bottom: 0;
    color: #555;
    font-size: 14px;
    background: #FCF9F3;
    border-bottom: none;
    border-radius: 10px;
}
.qc-dog-header *{
	font-weight: 700;
    color: #002842;
}
.qc-my-dogs-header a svg{
	width: 16px !important;
}
.qc-dog-actions a.button {
    display: flex;
    align-items: center;
    gap: 6px;
    background: inherit;
    border: solid 1px #cdcdcd;
    padding: 5px 15px;
    border-radius: 7px;
    color: #002842;
    font-size: 14px;
}
.qc-dog-details * {
    font-size: 14px;
    color: #002842;
    font-weight: 500;
}
span.qc-dog-female,
span.qc-dog-male {
    background: #e6f5fe;
    padding: 3px 8px 3px 4px;
    border-radius: 24px;
    color: #0d4d8f;
    font-weight: 600;
}
span.qc-dog-female svg,
span.qc-dog-male svg{
	background: #fff;
    border-radius: 50px;
    padding: 4px;
    margin-right: 4px;
}
span.qc-dog-female {
    background: #fdeef1;
    color: #9a1434;
}
a.button.qc-retire-dog {
    background: #fdf2f3;
    border-color: #e77c9a94;
    color: #d80826d9;
}
.qc-dog-row:not(.qc-dog-header) {
    margin: 12px 0px;
    border-radius: 10px;
    border: solid 1px #00000012;
}
.qc-dog-name, .qc-dog-registration, .qc-dog-type, .qc-dog-sex, .qc-dog-actions {
    min-width: 0;
    padding: 10px 20px;
}

.qc-dog-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin-left: 0;
}

.qc-dog-actions .button {
	margin: 0;
	white-space: nowrap;
}
.acf-fields .acf-field-message .acf-input p:before {
    content: '\f1b0' !important;
    font-family: 'Font Awesome 5 Free';
    display: inline-block;
    /* float: left; */
    margin-right: 10px;
}
.qc-woocommerce-message {
    position: relative;
    margin: 0 0 20px;
    padding: 16px 18px 16px 18px;
    border: 1px solid #d5e9eb;
    border-left: 4px solid #1e9804;
    border-radius: 9px;
    background: #defad8;
    color: #252525;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: none;
}
.qc-woocommerce-message a {
    font-weight: 700;
}
#acf-form textarea.select2-search__field {
    border: none !important;
}
/* Mobile */
@media (max-width: 767px) {
	.qc-dog-row {
		grid-template-columns: 1fr;
		gap: 8px;
		padding: 15px 0;
	}

	.qc-dog-header {
		display: none;
	}

	.qc-dog-name,
	.qc-dog-registration,
	.qc-dog-type,
	.qc-dog-sex {
		display: flex;
		justify-content: space-between;
		gap: 15px;
	}

	.qc-dog-name::before {
		content: "Dog Name";
		font-weight: 600;
	}

	.qc-dog-registration::before {
		content: "Registration Number";
		font-weight: 600;
	}

	.qc-dog-type::before {
		content: "Registration Type";
		font-weight: 600;
	}

	.qc-dog-sex::before {
		content: "Sex";
		font-weight: 600;
	}

	.qc-dog-actions {
		justify-content: flex-start;
		margin-top: 8px;
	}

	.qc-dog-actions .button {
		padding: 8px 16px;
	}
}
/* =========================================================
   DOG PROFILE FORM
   ========================================================= */

.acf-form {
    width: 100%;
    max-width: 100%;
    padding: 28px 30px;
    margin: 0;
    border: 1px solid #eee5e8;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 5px 25px rgba(35, 20, 25, 0.04);
    box-sizing: border-box;
}


/* =========================================================
   MAIN GRID
   ========================================================= */

.acf-form .acf-fields.-top {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    column-gap: 20px !important;
    row-gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}
.acf-fields .acf-field-message {
    padding-bottom: 0 !important;
}
.acf-fields .acf-field-message .acf-input {
    font-size: 24px;
    color: #002842;
    font-weight: 700;
    margin-bottom: 0px;
    text-transform: uppercase;
    border-bottom: solid 3px #ffd100;
    width: max-content !important;
}
.acf-input p {
    margin-bottom: 0px;
}
.acf-field-select .select2-container {
    width: 100% !important;
}

.acf-field-select .select2-selection--multiple {
    min-height: 44px !important;
    height: 44px !important;
    border: 1px solid #e5dfe2 !important;
    border-radius: 4px !important;
    padding: 6px 8px !important;
    display: flex !important;
    align-items: center !important;
}

.acf-field-select .select2-selection__rendered {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.acf-field-select .select2-selection__choice {
    margin: 0 !important;
    line-height: 30px !important;
    height: 30px !important;
}

.acf-field-select .select2-search--inline {
    margin: 0 !important;
}

.acf-field-select .select2-search__field {
    margin: 0 !important;
    height: 30px !important;
}
/*.select2-container .select2-dropdown:not(.single-product .select2-container .select2-dropdown, ) {
    margin-top: 30px !important;
}*/
.page-id-151 .select2-container .select2-dropdown{
    margin-top: 30px !important; 
}
.entry-content .acf-form .select2-container .select2-selection__rendered {
    width: max-content !important;
    margin-right: 10px !important;
}
/* =========================================================
   RESET ACF FIELD
   ========================================================= */

.acf-form .acf-field {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 0 20px !important;
    border: 0 !important;
    box-sizing: border-box;
}

.acf-form .acf-field::before,
.acf-form .acf-field::after {
    display: none !important;
}


/* =========================================================
   DEFAULT = 2 COLUMNS
   ========================================================= */

.acf-form .acf-field {
    grid-column: span 6;
}


/* =========================================================
   FULL WIDTH FIELDS
   ========================================================= */

.acf-form .acf-field[data-name="breed"],
.acf-form .acf-field[data-name="jrs_address"],
.acf-form .acf-field[data-name="full_name_of_dog"] {
    grid-column: 1 / -1 !important;
}


/* =========================================================
   CITY / STATE / ZIP
   ========================================================= */

.acf-form .acf-field[data-name="jrs_city"],
.acf-form .acf-field[data-name="jrs_state"],
.acf-form .acf-field[data-name="jrs_zip"] {
    grid-column: span 4 !important;
}


/* =========================================================
   REGISTRATION
   ========================================================= */

.acf-form .acf-field[data-name="registration_type"],
.acf-form .acf-field[data-name="registration_number"] {
    grid-column: span 6 !important;
}


/* =========================================================
   DATE OF BIRTH + PLACE OF BIRTH
   ========================================================= */

.acf-form .acf-field[data-name="date_of_birth"],
.acf-form .acf-field[data-name="place_of_birth"] {
    grid-column: span 6 !important;
}


/* =========================================================
   BREEDER / SIRE / DAM
   ========================================================= */

.acf-form .acf-field[data-name="breeder"],
.acf-form .acf-field[data-name="sire"],
.acf-form .acf-field[data-name="dam"] {
    grid-column: span 4 !important;
}


/* =========================================================
   LABEL
   ========================================================= */

.acf-form .acf-label {
    margin: 0 0 7px !important;
    padding: 0 !important;
}

.acf-form .acf-label label {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    color: #252525;
    font-size: 16px;
    font-weight: 600 !important;
    line-height: 1.4;
}

.acf-form .acf-required {
    color: red !important;
}


/* =========================================================
   INPUT WRAPPER
   ========================================================= */

.acf-form .acf-input {
    width: 100% !important;
    min-width: 0 !important;
}

.acf-form .acf-input-wrap {
    width: 100% !important;
}


/* =========================================================
   ALL TEXT INPUTS
   ========================================================= */

.acf-form .acf-input input[type="text"],
.acf-form .acf-input input[type="email"],
.acf-form .acf-input input[type="number"],
.acf-form .acf-input input[type="tel"] {
    display: block;
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 13px !important;

    border: 1px solid #e5dfe2 !important;
    border-radius: 7px !important;

    background: #ffffff !important;
    color: #222222 !important;

    font-size: 14px !important;
    font-weight: 400;
    line-height: 44px;

    outline: none !important;
    box-shadow: none !important;

    box-sizing: border-box !important;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* =========================================================
   INPUT FOCUS
   ========================================================= */

.acf-form .acf-input input[type="text"]:focus,
.acf-form .acf-input input[type="email"]:focus,
.acf-form .acf-input input[type="number"]:focus,
.acf-form .acf-input input[type="tel"]:focus {
    border-color: #002842 !important;
    box-shadow: 0 0 0 3px rgba(237, 111, 139, 0.08) !important;
    outline: none !important;
}


/* =========================================================
   PLACEHOLDER
   ========================================================= */

.acf-form .acf-input input::placeholder {
    color: #a6a1a3;
    opacity: 1;
}


/* =========================================================
   SELECT2
   ========================================================= */

.acf-form .select2-container {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
}

.acf-form .select2-container .select2-selection--single {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;

    margin: 0 !important;
    padding: 0 13px !important;

    border: 1px solid #e5dfe2 !important;
    border-radius: 7px !important;

    background: #ffffff !important;

    box-sizing: border-box !important;

    box-shadow: none !important;
    outline: none !important;
}

.acf-form .select2-container .select2-selection__rendered {
    display: block !important;
    width: calc(100% - 20px) !important;

    padding: 0 !important;

    overflow: hidden;
    color: #333333 !important;

    font-size: 13px !important;
    line-height: 42px !important;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.acf-form .select2-container .select2-selection__arrow {
    position: absolute !important;
    top: 0 !important;
    right: 8px !important;

    width: 22px !important;
    height: 42px !important;
}

.acf-form .select2-container .select2-selection__arrow b {
    border-color: #777 transparent transparent transparent !important;
}


/* =========================================================
   SELECT2 FOCUS
   ========================================================= */

.acf-form .select2-container--focus .select2-selection--single,
.acf-form .select2-container--open .select2-selection--single {
    border-color: #002842 !important;
    box-shadow: 0 0 0 3px rgba(237, 111, 139, 0.08) !important;
}


/* =========================================================
   DATE PICKER
   ========================================================= */

.acf-form .acf-date-picker {
    width: 100% !important;
}

.acf-form .acf-date-picker input[type="text"] {
    display: block;
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 40px 0 13px !important;
    border: 1px solid #e5dfe2 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Free v7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--><path fill="rgb(194, 221, 246)" d="M216 64C229.3 64 240 74.7 240 88L240 128L400 128L400 88C400 74.7 410.7 64 424 64C437.3 64 448 74.7 448 88L448 128L480 128C515.3 128 544 156.7 544 192L544 480C544 515.3 515.3 544 480 544L160 544C124.7 544 96 515.3 96 480L96 192C96 156.7 124.7 128 160 128L192 128L192 88C192 74.7 202.7 64 216 64zM480 496C488.8 496 496 488.8 496 480L496 416L408 416L408 496L480 496zM496 368L496 288L408 288L408 368L496 368zM360 368L360 288L280 288L280 368L360 368zM232 368L232 288L144 288L144 368L232 368zM144 416L144 480C144 488.8 151.2 496 160 496L232 496L232 416L144 416zM280 416L280 496L360 496L360 416L280 416zM216 176L160 176C151.2 176 144 183.2 144 192L144 240L496 240L496 192C496 183.2 488.8 176 480 176L216 176z"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: 98% !important;
    background-size: 28px !important;
}


/* =========================================================
   SEX RADIO
   ========================================================= */

.acf-form .acf-field[data-name="sex"] .acf-radio-list {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    gap: 8px !important;

    width: 100%;
    height: 44px;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.acf-form .acf-field[data-name="sex"] .acf-radio-list li {
    flex: 0 0 auto !important;

    margin: 0 !important;
    padding: 0 !important;
}

.acf-form .acf-field[data-name="sex"] .acf-radio-list li label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 100px;
    height: 44px;

    margin: 0 !important;
    padding: 0 15px !important;

    border: 1px solid #e5dfe2;
    border-radius: 7px;

    background: #ffffff;

    color: #555;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    box-sizing: border-box;

    transition: all 0.2s ease;
}

.acf-form .acf-field[data-name="sex"] .acf-radio-list li label:hover {
    border-color: #002842;
    color: #002842;
}

.acf-form .acf-field[data-name="sex"] .acf-radio-list li label.selected {
    border-color: #002842;
    background: #f6fdfd;
    color: #002842;
}


/* =========================================================
   RADIO INPUT
   ========================================================= */

.acf-form .acf-field[data-name="sex"] .acf-radio-list input[type="radio"] {
    position: relative !important;
    width: 13px !important;
    height: 13px !important;
    margin: 0 7px 0 0 !important;
    opacity: 1 !important;
    accent-color: #002842;
    pointer-events: auto;
}


/* =========================================================
   HIDDEN VALIDATION FIELD
   ========================================================= */

.acf-form .acf-field[data-name="_validate_email"] {
    display: none !important;
}


/* =========================================================
   ERROR
   ========================================================= */

.acf-form .acf-error {
    margin-top: 5px !important;

    color: #d63638 !important;
    font-size: 11px;
    line-height: 1.4;
}

.acf-form .acf-field.acf-error-field input,
.acf-form .acf-field.acf-error-field .select2-selection--single {
    border-color: #d63638 !important;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.acf-form input[type="submit"], .acf-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 75px;
    /* height: 44px; */
    margin-top: 4px;
    padding: 13px 30px;
    border: 0 !important;
    border-radius: 24px !important;
    background: #ffd100 !important;
    color: #002842 !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: none !important;
    transition: background-color 0.2s ease,
        transform 0.2s ease;
}

.acf-form input[type="submit"]:hover,
.acf-form button[type="submit"]:hover {
    background: #002842 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .acf-form {
        padding: 24px;
    }

    .acf-form .acf-fields.-top {
        column-gap: 16px !important;
    }

    .acf-form .acf-field[data-name="breeder"],
    .acf-form .acf-field[data-name="sire"],
    .acf-form .acf-field[data-name="dam"] {
        grid-column: span 4 !important;
    }

    .acf-form .acf-field[data-name="jrs_city"],
    .acf-form .acf-field[data-name="jrs_state"],
    .acf-form .acf-field[data-name="jrs_zip"] {
        grid-column: span 4 !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .acf-form {
        padding: 20px 16px;
        border-radius: 11px;
    }

    .acf-form .acf-fields.-top {
        display: block !important;
    }

    .acf-form .acf-field,
    .acf-form .acf-field[data-name="breed"],
    .acf-form .acf-field[data-name="jrs_address"],
    .acf-form .acf-field[data-name="full_name_of_dog"],
    .acf-form .acf-field[data-name="jrs_city"],
    .acf-form .acf-field[data-name="jrs_state"],
    .acf-form .acf-field[data-name="jrs_zip"],
    .acf-form .acf-field[data-name="registration_type"],
    .acf-form .acf-field[data-name="registration_number"],
    .acf-form .acf-field[data-name="date_of_birth"],
    .acf-form .acf-field[data-name="place_of_birth"],
    .acf-form .acf-field[data-name="breeder"],
    .acf-form .acf-field[data-name="sire"],
    .acf-form .acf-field[data-name="dam"] {
        width: 100% !important;
        display: block !important;
    }

    .acf-form .acf-field {
        padding-bottom: 10px !important;
    }

    .acf-form .acf-label {
        margin-bottom: 6px !important;
    }

    .acf-form .acf-label label {
        font-size: 13px;
    }

    .acf-form .acf-input input[type="text"],
    .acf-form .acf-input input[type="email"],
    .acf-form .acf-input input[type="number"],
    .acf-form .acf-input input[type="tel"],
    .acf-form .acf-date-picker input[type="text"],
    .acf-form .select2-container .select2-selection--single {
        height: 46px !important;
        min-height: 46px !important;
    }

    .acf-form .select2-container .select2-selection__rendered {
        line-height: 44px !important;
    }

    .acf-form .select2-container .select2-selection__arrow {
        height: 44px !important;
    }

    .acf-form .acf-field[data-name="sex"] .acf-radio-list {
        height: auto;
        gap: 8px !important;
    }

    .acf-form .acf-field[data-name="sex"] .acf-radio-list li {
        flex: 1 !important;
    }

    .acf-form .acf-field[data-name="sex"] .acf-radio-list li label {
        width: 100%;
        min-width: 0;
    }

    .acf-form input[type="submit"],
    .acf-form button[type="submit"] {
        width: 100%;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .acf-form {
        padding: 18px 14px;
    }

    .acf-form .acf-field[data-name="sex"] .acf-radio-list {
        flex-direction: row !important;
    }

    .acf-form .acf-field[data-name="sex"] .acf-radio-list li {
        width: 50%;
    }
}