.cosmetics-auth-wrapper {
    display: flex;
    min-height: 80vh;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(27, 79, 114, 0.14);
    background: linear-gradient(180deg, #ffffff 0%, #f8fdfe 100%);
    border: 1px solid rgba(26, 155, 175, 0.12);
    margin: 2rem auto;
    position: relative;
}

.cosmetics-auth-image {
    display: none;
    flex: 1;
    background-color: #eaf8fb;
    background-position: center;
    background-size: cover;
    position: relative;
}

@media (min-width: 992px) {
    .cosmetics-auth-image {
        display: block;
    }
}

.cosmetics-auth-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(27, 79, 114, 0.18) 0%, rgba(27, 79, 114, 0.82) 100%);
}

.cosmetics-auth-image-content {
    position: absolute;
    bottom: 12%;
    left: 0;
    right: 0;
    padding: 0 4rem;
    color: #fff;
    z-index: 2;
    text-align: left;
}

.cosmetics-auth-image-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-transform: capitalize;
}

.cosmetics-auth-image-content p {
    font-size: 1.15rem;
    opacity: 0.95;
    font-weight: 300;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    max-width: 80%;
}

.cosmetics-auth-form-container {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 253, 254, 0.98) 100%);
    position: relative;
    font-family: 'Inter', sans-serif;
}

@media (min-width: 768px) {
    .cosmetics-auth-form-container {
        padding: 4rem 5rem;
    }
}

.cosmetics-auth-form-container .auth-title {
    font-family: 'Playfair Display', serif;
    color: #1B4F72;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.cosmetics-auth-form-container .auth-subtitle {
    color: #5f7890;
    font-size: 1rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

.cosmetics-auth-form-container .form-group {
    margin-bottom: 1.8rem;
    position: relative;
}

.cosmetics-auth-form-container .form-label {
    font-size: 0.75rem;
    color: #1B4F72;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.8rem;
}

.cosmetics-auth-form-container .form-control {
    border: none;
    border-bottom: 1px solid rgba(26, 155, 175, 0.2);
    border-radius: 0;
    padding: 0.8rem 0;
    background: transparent;
    font-size: 1.05rem;
    color: #1B4F72;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

.cosmetics-auth-form-container .form-control:focus {
    border-bottom-color: #1A9BAF;
    background: transparent;
}

.cosmetics-auth-form-container .form-control::placeholder {
    color: #8da7b7;
    font-weight: 300;
    font-size: 0.95rem;
}

.cosmetics-auth-form-container .btn--primary {
    background: linear-gradient(135deg, #1A9BAF 0%, #1B4F72 100%);
    color: #fff;
    border: none;
    border-radius: 0px;
    padding: 1.1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    margin-top: 1rem;
    width: 100%;
    display: block;
    box-shadow: 0 18px 34px rgba(27, 79, 114, 0.2);
}

.cosmetics-auth-form-container .btn--primary:hover, .cosmetics-auth-form-container .btn--primary:not(:disabled):hover {
    background: linear-gradient(135deg, #F4A644 0%, #E8632A 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(232, 99, 42, 0.24);
}

.cosmetics-auth-form-container .btn--primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.custom-checkbox .custom-control-label::before {
    border-radius: 0;
    border: 1px solid rgba(26, 155, 175, 0.28);
    top: 0.1rem;
}
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #1A9BAF;
    border-color: #1A9BAF;
}
.form-check-label, .custom-control-label {
    font-size: 0.9rem;
    color: #587086;
    font-weight: 400;
}

.text-primary-cosmetic {
    color: #1A9BAF;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}
.text-primary-cosmetic:hover {
    color: #1B4F72;
}

.text-force-underline {
    text-decoration: underline;
    text-decoration-color: #E8632A;
    text-underline-offset: 4px;
    color: #E8632A !important;
}
.text-force-underline:hover {
    color: #1B4F72 !important;
    text-decoration-color: #1B4F72;
}

.or-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2.5rem 0;
    color: #84a2b3;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.or-separator::before, .or-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(26, 155, 175, 0.14);
}
.or-separator:not(:empty)::before { margin-right: 1.5rem; }
.or-separator:not(:empty)::after { margin-left: 1.5rem; }

.social-buttons-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}
.social-media-login-btn {
    flex: 1;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(26, 155, 175, 0.14);
    border-radius: 0px;
    padding: 0.9rem;
    transition: all 0.3s ease;
    background: rgba(248, 253, 254, 0.92);
    color: #587086;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
}
.social-media-login-btn:hover {
    background: rgba(26, 155, 175, 0.08);
    border-color: rgba(232, 99, 42, 0.3);
    color: #1B4F72;
    box-shadow: 0 14px 24px rgba(27, 79, 114, 0.12);
}
.social-media-login-btn img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.auth-footer {
    margin-top: 3rem;
    text-align: center;
    font-size: 0.95rem;
    color: #587086;
}

.auth-footer a {
    color: #E8632A;
    font-weight: 600;
}

.auth-footer a:hover {
    color: #1B4F72;
}

.auth-footer a {
    color: #E8632A;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #F4A644;
    text-underline-offset: 4px;
    transition: all 0.3s ease;
}

.auth-footer a:hover {
    color: #1B4F72;
    text-decoration-color: #1B4F72;
}

.password-toggle-btn {
    position: absolute;
    right: 0;
    top: 55%;
    transform: translateY(-50%);
    margin-top: 0;
}
.password-error {
    text-transform: none;
    font-weight: normal;
}

/* Intl Tel Input Adjustments */
.iti {
    display: block !important;
    width: 100% !important;
}

.iti__selected-dial-code {
    font-size: 1rem;
    color: #1B4F72;
    font-weight: 500;
}

.cosmetics-auth-form-container .iti input.form-control {
    padding-left: 85px !important;
    border-bottom: 1px solid rgba(26, 155, 175, 0.2) !important;
}

.cosmetics-auth-form-container .iti input.form-control:focus {
    border-bottom-color: #1A9BAF !important;
}

[dir="rtl"] .cosmetics-auth-form-container .iti input.form-control {
    padding-right: 85px !important;
    padding-left: 0 !important;
}

.iti--separate-dial-code .iti__selected-dial-code {
    margin-left: 6px;
}

.iti__country-list {
    z-index: 100;
    border-radius: 0;
    border: 1px solid rgba(26, 155, 175, 0.16);
    box-shadow: 0 10px 30px rgba(27, 79, 114, 0.12);
}
