/* Auth Dark Theme (Login/Register) */
.auth-body {
    background-color: var(--dark-bg);
    /* #1A1A1A */
    color: #ffffff;
    margin: 0;
    font-family: var(--font-body);
}

.auth-layout {
    display: grid;
    grid-template-columns: 610px minmax(0, 1fr);
    gap: 52px;
    min-height: 100vh;
    width: min(1420px, 100%);
    margin: 0 auto;
    padding: 10px;
    background: #191919;
    align-items: center;
}

/* Left Side Art */
.auth-art {
    width: 100%;
    position: relative;
    height: 720px;
    min-height: 0;
    overflow: hidden;
    border-radius: 0 24px 24px 0;
    background: url('../images/landing/hero-float-card.png') center/cover no-repeat;
    padding: 54px 52px 38px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-layout--register .auth-art {
    height: 720px;
}

.auth-art::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 328px;
    background: linear-gradient(180deg,
            rgba(25, 25, 25, 0) 0%,
            rgba(35, 35, 35, .28) 28%,
            rgba(48, 48, 48, .56) 100%);
    border-radius: 0 0 24px 0;
    z-index: 1;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 100%);
}

.auth-art__logo,
.auth-art__watermark,
.auth-art__copy {
    position: relative;
    z-index: 2;
}

.auth-art__watermark {
    position: absolute;
    top: -3px;
    right: -4px;
    width: 190px;
    height: 245px;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, .42) 0%, rgba(255, 20, 80, .26) 100%);
    mask: url('../images/favicon-alt.png') center / contain no-repeat;
    -webkit-mask: url('../images/favicon-alt.png') center / contain no-repeat;
}

.auth-art__logo img {
    width: 137px;
    height: auto;
}

.auth-art__copy {
    max-width: 492px;
}

.auth-art__copy p {
    font-size: 16px;
    line-height: 26px;
    color: rgba(255, 255, 255, 0.96);
    margin-bottom: 22px;
}

.auth-art__quote {
    font-family: var(--font-heading);
    position: relative;
    padding-top: 24px;
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #ffffff;
}

.auth-art__quote::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 168px;
    border-top: 1px solid rgba(255, 255, 255, .42);
}

.auth-author {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.auth-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

/* Right Panel */
.auth-panel {
    width: 100%;
    background: #191919;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 12px 60px 0;
    overflow-y: auto;
    justify-content: center;
    height: 720px;
    min-height: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.auth-panel::-webkit-scrollbar {
    display: none;
}

.auth-body--register .auth-panel {
    scrollbar-color: #666 #242424;
    scrollbar-width: thin;
}

.auth-body--register .auth-panel::-webkit-scrollbar {
    display: block;
    width: 8px;
}

.auth-body--register .auth-panel::-webkit-scrollbar-track {
    background: #242424;
    border-radius: 999px;
}

.auth-body--register .auth-panel::-webkit-scrollbar-thumb {
    background: #666;
    border: 2px solid #242424;
    border-radius: 999px;
}

.auth-body--register .auth-panel::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.auth-panel--long {
    justify-content: flex-start;
}

.auth-panel h2 {
    font-family: var(--font-heading);
    font-size: 40px;
    line-height: 1.15;
    margin-bottom: 31px;
    font-weight: normal;
    color: #ffffff;
    text-align: left;
    width: 100%;
    max-width: 637px;
}

.auth-mobile-logo {
    display: none;
}

.dark-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 637px;
}

.auth-body--register .dark-form {
    gap: 20px;
}

.auth-body--register .form-group label {
    font-size: 14px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.form-group label {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
}

.form-group label span {
    color: var(--primary-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group select {
    background: transparent;
    border: 1px solid #464646;
    border-radius: 8px;
    min-height: 49px;
    padding: 0 16px;
    color: #eeeeee;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
    box-sizing: border-box;
}

.phone-input-group {
    display: flex;
    gap: 10px;
    width: 100%;
    align-items: center;
    position: relative;
}

.phone-input-group .phone-country-select {
    flex: 0 0 118px;
    width: 118px;
    min-width: 118px;
    padding: 0 32px 0 12px;
    background-position: right 11px center;
    font-size: 14px;
}

.phone-input-group input[type="tel"] {
    flex: 1 1 0%;
    min-width: 0;
    width: 100%;
    height: 49px;
}

/* Searchable Flag Country Selector (Select2 style) */
.form-row:has(.country-select2),
.form-group:has(.country-select2) {
    position: relative;
    z-index: 40;
}

.form-row:has(.country-select2.is-open),
.form-group:has(.country-select2.is-open) {
    z-index: 999;
}

.country-select2 {
    position: relative;
    flex: 0 0 118px;
    width: 118px;
    min-width: 118px;
}

.country-select2 select {
    display: none !important;
}

.country-select2__trigger {
    width: 100%;
    height: 49px;
    min-height: 49px;
    background: transparent;
    border: 1px solid #464646;
    border-radius: 8px;
    padding: 0 12px;
    color: #eeeeee;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
    box-sizing: border-box;
}

.country-select2__trigger:hover {
    border-color: #6a6a6a;
    color: #ffffff;
}

.country-select2.is-open .country-select2__trigger,
.country-select2__trigger:focus-visible {
    border-color: rgba(255, 20, 80, .82);
    box-shadow: 0 0 0 4px rgba(255, 20, 80, .12), 0 10px 24px rgba(255, 20, 80, .08);
}

.country-select2__flag {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.country-select2__code {
    flex: 1;
    text-align: left;
    white-space: nowrap;
    font-size: 14px;
    color: #f5f5f5;
}

.country-select2__arrow {
    font-size: 12px;
    color: #999999;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.country-select2.is-open .country-select2__arrow {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.country-select2__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 295px;
    max-width: calc(100vw - 34px);
    background: #1f1f1f;
    border: 1px solid #3d3d3d;
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.72);
    z-index: 120;
    overflow: hidden;
}

.country-select2__dropdown[hidden] {
    display: none !important;
}

.country-select2__search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid #303030;
    background: #252525;
}

.country-select2__search-wrap i {
    color: #8c8c8c;
    font-size: 13px;
    flex-shrink: 0;
}

.country-select2__search {
    width: 100%;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    min-height: 26px !important;
    height: 26px !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    outline: none !important;
}

.country-select2__search::placeholder {
    color: #7a7a7a;
}

.country-select2__list {
    list-style: none;
    margin: 0;
    padding: 6px;
    max-height: 230px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #555 #1f1f1f;
}

.country-select2__list::-webkit-scrollbar {
    width: 6px;
}

.country-select2__list::-webkit-scrollbar-track {
    background: #1f1f1f;
}

.country-select2__list::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 999px;
}

.country-select2__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    font-size: 13.5px;
    color: #e5e5e5;
}

.country-select2__option[hidden] {
    display: none !important;
}

.country-select2__option:hover,
.country-select2__option.is-active {
    background: #2d2d2d;
    color: #ffffff;
}

.country-select2__option.is-selected {
    background: rgba(255, 68, 88, 0.16);
    color: #ffffff;
    font-weight: 600;
}

.country-select2__name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.country-select2__dial {
    color: #a3a3a3;
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
}

.country-select2__option.is-selected .country-select2__dial {
    color: #ff6b7b;
}

.country-select2__empty {
    padding: 14px 12px;
    text-align: center;
    font-size: 13px;
    color: #8c8c8c;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
}

.form-group select {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1.5L6 6.5L11 1.5" stroke="%23999999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    color: #cfcfcf;
    font-size: 15px;
    font-weight: 400;
    line-height: 49px;
    align-items: center;
    cursor: pointer;
}

.form-group select:hover {
    border-color: #6a6a6a;
    color: #ffffff;
}

.form-group select option {
    background: #242424;
    color: #f5f5f5;
    font-size: 15px;
}

.form-group select option:disabled {
    color: #a9a9a9;
}

.form-group select option:checked {
    background: #343434;
    color: #ffffff;
}

.form-group input::placeholder {
    color: #706d6d;
}

.password-field {
    position: relative;
    width: 100%;
}

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #212121 inset !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff !important;
    transition: background-color 5000s ease-in-out 0s;
}

input::-ms-reveal,
input::-ms-clear {
    display: none;
}

.password-field input {
    width: 100%;
    padding-right: 52px !important;
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #cfcfcf;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.password-toggle:hover {
    color: #ffffff;
}

.password-requirements {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 14px;
    padding: 0;
    margin: 2px 0 0;
    list-style: none;
}

.password-requirements li {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: #9b9b9b;
    font-size: 11px;
    line-height: 1.35;
    transition: color .2s ease;
}

.password-requirements li i {
    flex: 0 0 auto;
    font-size: 11px;
    line-height: 1.35;
}

.password-requirements li.is-complete {
    color: #68cf8d;
}

.forgot-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -12px;
    gap: 12px;
    flex-wrap: wrap;
}

.forgot-link {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.forgot-link:hover {
    color: #ffffff;
}

/* Profile Photos Upload Box */
.photo-upload-container {
    background: #232323;
    border-radius: 8px;
    padding: 24px 36px 22px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
}

.photo-upload-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 14px;
    min-width: 230px;
}

.photo-upload-copy label {
    line-height: 1.2;
    margin: 0;
}

.photo-upload-info {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.photo-upload-info i {
    color: #d8d8d8;
    font-size: 15px;
    margin-top: 3px;
    flex: 0 0 auto;
}

.photo-upload-info p {
    font-size: 13px;
    color: #e7e7e7;
    line-height: 1.5;
    margin: 0;
    max-width: 270px;
}

.photo-boxes {
    display: flex;
    gap: 16px;
}

.photo-box {
    width: 145px;
    height: 132px;
    background: #171717;
    border: 1px dashed #4a4a4a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    font-size: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    margin: 0;
}

.photo-box:hover {
    border-color: var(--primary-color);
    color: #ffffff;
}

.photo-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.photo-box img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #171717;
    z-index: 1;
}

.photo-box.has-image {
    border-style: solid;
    border-color: #555;
}

.photo-box.has-image i,
.photo-box.has-image .photo-box__placeholder {
    display: none;
}

.photo-box--primary {
    border-color: rgba(255, 68, 88, 0.55);
    background: #1b1618;
}

.photo-box__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.2px;
    pointer-events: none;
}

.photo-box__badge--required {
    background: rgba(255, 68, 88, 0.2);
    border: 1px solid rgba(255, 68, 88, 0.5);
    color: #ff6b7b;
}

.photo-box__badge--optional {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #a3a3a3;
}

.photo-box__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    padding: 18px 8px 6px;
    pointer-events: none;
}

.photo-box__placeholder i {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 2px;
}

.photo-box--primary .photo-box__placeholder i {
    color: var(--primary-color);
}

.photo-box__title {
    font-size: 12.5px;
    font-weight: 600;
    color: #f2f2f2;
    line-height: 1.2;
}

.photo-box__title em {
    font-style: normal;
    color: var(--primary-color);
}

.photo-box__hint {
    font-size: 11px;
    color: #9a9a9a;
    line-height: 1.2;
}

/* Pills */
.pill-group {
    display: flex;
    gap: 16px;
}

.pill-group label {
    flex: 1;
}

.pill-radio input {
    display: none;
}

.pill-radio span {
    display: block;
    text-align: center;
    padding: 16px 0;
    border: 1px solid transparent;
    background: #282828;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 500;
    color: #ffffff !important;
    cursor: pointer;
    transition: var(--transition);
}

.form-group .date-select {
    flex: 1 1 0;
    width: 100%;
    min-width: 0;
}

.form-group .pill-radio span,
.form-group .pill-radio input:checked+span {
    color: #ffffff !important;
}

.pill-radio input:checked+span {
    background: #282828;
    color: #ffffff !important;
    border-color: var(--primary-color);
    box-shadow: inset 0 0 0 1px var(--primary-color);
}

/* Verify Account Via Buttons */
.verify-channel-btn {
    min-height: 49px;
    padding: 0 16px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    font-size: 13.5px !important;
    font-weight: 500;
    border-radius: 8px !important;
    background: #202020 !important;
    border: 1px solid #424242 !important;
    color: #cfcfcf !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
    user-select: none;
}

.verify-channel-btn i {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.pill-radio:hover .verify-channel-btn {
    border-color: #666666 !important;
    color: #ffffff !important;
    background: #272727 !important;
    transform: translateY(-1px);
}

.pill-radio input:checked + .verify-channel-btn {
    background: rgba(255, 20, 80, 0.12) !important;
    border-color: var(--primary-color, #ff1450) !important;
    color: #ffffff !important;
    box-shadow: 0 0 14px rgba(255, 20, 80, 0.28), inset 0 0 0 1px var(--primary-color, #ff1450) !important;
    font-weight: 600 !important;
}

.pill-radio input:checked + .verify-channel-btn i {
    color: var(--primary-color, #ff1450);
    transform: scale(1.1);
}

/* Checkbox */
.dark-checkbox {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 14px !important;
    color: #cfcfcf !important;
    cursor: pointer !important;
    user-select: none !important;
    transition: color 0.2s ease !important;
}

.dark-checkbox:hover {
    color: #ffffff !important;
}

.custom-checkbox-input {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    pointer-events: none !important;
}

.custom-checkbox-box {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    border: 2px solid #666666 !important;
    border-radius: 5px !important;
    background: #202020 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease-in-out !important;
    flex-shrink: 0 !important;
}

.dark-checkbox:hover .custom-checkbox-box {
    border-color: #ff1450 !important;
}

.custom-checkbox-input:checked+.custom-checkbox-box {
    background: #ff1450 !important;
    border-color: #ff1450 !important;
    box-shadow: 0 0 10px rgba(255, 20, 80, 0.45) !important;
}

.custom-checkbox-box i {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    display: none !important;
}

.custom-checkbox-input:checked+.custom-checkbox-box i {
    display: block !important;
}

.dark-checkbox input:not(.custom-checkbox-input) {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    border: 2px solid #666666 !important;
    border-radius: 5px !important;
    background: #202020 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    transition: all 0.2s ease-in-out !important;
}

.dark-checkbox input:not(.custom-checkbox-input):hover {
    border-color: #ff1450 !important;
}

.dark-checkbox input:not(.custom-checkbox-input):checked {
    background-color: #ff1450 !important;
    border-color: #ff1450 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath fill-rule='evenodd' d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 13px 13px !important;
    box-shadow: 0 0 10px rgba(255, 20, 80, 0.45) !important;
}

/* Add Buttons */
.add-btn {
    background: transparent;
    border: 1px solid #444;
    border-radius: var(--radius-pill);
    padding: 16px 24px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    transition: var(--transition);
}

.add-btn:hover {
    border-color: var(--primary-color);
}

.add-btn i {
    font-size: 12px;
}

.verify-actions-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    flex-wrap: nowrap;
}

.verify-actions-row form {
    flex: 1 1 0%;
    margin: 0;
    display: flex;
    min-width: 0;
}

.verify-actions-row form.verify-actions-row__logout {
    flex: 0 0 auto;
}

.verify-actions-row .add-btn {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    font-size: 13px;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
}

.verify-actions-row form.verify-actions-row__logout .add-btn {
    padding: 10px 20px;
}

@media (max-width: 575px) {
    .verify-actions-row {
        flex-wrap: wrap;
    }

    .verify-actions-row form,
    .verify-actions-row form.verify-actions-row__logout {
        flex: 1 1 100%;
    }
}

.selection-picker {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.selection-picker[hidden] {
    display: none;
}

.selection-option input {
    position: absolute;
    opacity: 0;
}

.selection-option span {
    display: block;
    padding: 8px 6px;
    border: 1px solid #444;
    border-radius: var(--radius-pill);
    color: #ffffff !important;
    cursor: pointer;
    text-align: center;
    font-size: 12px;
    line-height: 1.25;
    transition: var(--transition);
}

.selection-option input:checked+span {
    border-color: var(--primary-color);
    box-shadow: inset 0 0 0 1px var(--primary-color);
    color: #ffffff !important;
}

.selection-option input:disabled+span {
    cursor: not-allowed;
    opacity: .42;
}

.selection-limit-message {
    color: #999;
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
}

.selection-picker__empty {
    color: #999;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 720px) {
    .selection-picker {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .selection-picker {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 360px) {
    .selection-picker {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Divider */
.optional-divider {
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 13px;
    color: #666;
    margin: 2px 0;
}

.optional-divider::before,
.optional-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #333;
}

.optional-divider::before {
    margin-right: 20px;
}

.optional-divider::after {
    margin-left: 20px;
}

/* Submit & Links */
.auth-submit {
    margin-top: 14px;
    width: 100%;
    padding: 18px;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
}

.auth-switch {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: #999;
}

@media (max-width: 991px) {
    .auth-layout {
        display: block;
        min-height: 100vh;
        padding: 0 17px 54px;
    }

    .auth-art {
        display: none;
    }

    .auth-art::before,
    .auth-art::after,
    .auth-art__watermark,
    .auth-art__copy {
        display: none;
    }



    .auth-art__logo img {
        width: 155px;
    }

    .auth-panel {
        padding: 48px 0 0;
        overflow: visible;
        height: auto;
        min-height: auto;
        justify-content: flex-start;
    }

    .auth-body--register .auth-panel {
        scrollbar-width: auto;
    }

    .auth-body--register .auth-panel::-webkit-scrollbar {
        display: none;
    }

    .auth-mobile-logo {
        display: inline-flex;
        margin-bottom: 34px;
    }

    .auth-mobile-logo img {
        width: 155px;
        height: auto;
    }

    .auth-panel h2 {
        max-width: none;
        margin-bottom: 32px;
        font-size: 36px;
    }

    .dark-form {
        max-width: none;
        gap: 28px;
    }

    .password-requirements {
        grid-template-columns: 1fr;
    }

    .photo-upload-container {
        display: block;
        padding: 26px 18px 28px;
    }

    .photo-upload-copy {
        min-width: 0;
    }

    .photo-upload-info {
        margin-bottom: 22px;
    }

    .photo-boxes {
        gap: 18px;
    }

    .photo-box {
        flex: 1;
        width: auto;
        height: 133px;
    }

    .form-row {
        flex-direction: column;
        gap: 28px;
    }

    .form-group>.form-row {
        flex-direction: row;
        gap: 9px;
    }

    .pill-group {
        gap: 12px;
    }

    .auth-submit {
        min-height: 49px;
        margin-top: 20px;
    }
}

.auth-switch a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: underline;
}

/* Auth page micro animations */
.auth-art {
    animation: authArtIn .65s ease-out both;
}

.auth-art__logo,
.auth-art__watermark,
.auth-art__copy {
    animation: authCopyIn .58s ease-out both;
}

.auth-art__copy {
    animation-delay: .12s;
}

.auth-panel {
    animation: authPanelIn .6s ease-out both;
}

.dark-form .form-group,
.photo-upload-container,
.optional-divider,
.auth-submit,
.auth-switch {
    animation: authFieldIn .45s ease-out both;
}

.dark-form .form-group:nth-child(2) {
    animation-delay: .04s;
}

.dark-form .form-group:nth-child(3) {
    animation-delay: .08s;
}

.dark-form .form-group:nth-child(4) {
    animation-delay: .12s;
}

.dark-form .form-group:nth-child(5) {
    animation-delay: .16s;
}

.photo-box,
.pill-radio span,
.dark-checkbox input,
.add-btn,
.password-toggle,
.auth-submit {
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background-color .24s ease, color .24s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="password"]:focus,
.form-group select:focus {
    border-color: rgba(255, 20, 80, .82);
    box-shadow: 0 0 0 4px rgba(255, 20, 80, .12), 0 10px 24px rgba(255, 20, 80, .08);
}

.photo-box:hover,
.pill-radio span:hover,
.add-btn:hover {
    transform: translateY(-2px);
}

.photo-box:hover {
    box-shadow: 0 14px 30px rgba(255, 20, 80, .14);
    animation: authDashedBorder .8s linear infinite;
}

.photo-box.has-image img {
    transition: transform .34s ease;
}

.photo-box.has-image:hover img {
    transform: scale(1.04);
}

.auth-submit:hover,
.auth-submit:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(255, 20, 80, .3);
}

.dark-checkbox input:checked,
.pill-radio input:checked+span {
    animation: authTinyPop .2s ease-out;
}

@keyframes authArtIn {
    from {
        opacity: 0;
        filter: saturate(.9);
    }

    to {
        opacity: 1;
        filter: saturate(1);
    }
}

@keyframes authCopyIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes authPanelIn {
    from {
        opacity: 0;
        transform: translateX(12px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes authFieldIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes authTinyPop {
    50% {
        transform: scale(1.04);
    }
}

@keyframes authDashedBorder {
    0% {
        border-color: rgba(255, 20, 80, .35);
    }

    50% {
        border-color: rgba(255, 20, 80, .9);
    }

    100% {
        border-color: rgba(255, 20, 80, .35);
    }
}

@media (prefers-reduced-motion: reduce) {

    .auth-art,
    .auth-art__logo,
    .auth-art__watermark,
    .auth-art__copy,
    .auth-panel,
    .dark-form .form-group,
    .photo-upload-container,
    .optional-divider,
    .auth-submit,
    .auth-switch,
    .dark-checkbox input:checked,
    .pill-radio input:checked+span,
    .photo-box:hover {
        animation: none !important;
    }

    .photo-box:hover,
    .pill-radio span:hover,
    .add-btn:hover,
    .auth-submit:hover,
    .auth-submit:focus-visible {
        transform: none;
    }
}