body {
    background-color: #f8f9fa !important;
    background-image: url("/images/apps/background-new.webp") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 20px !important;
    font-family: 'Public Sans', sans-serif !important;
}

@media (max-width: 768px) {
    body {
        background-size: auto 100% !important;
        background-position: left center !important;
    }
}

.auth-container {
    width: 100% !important;
    max-width: 450px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    z-index: 10 !important;
}

.logo-container {
    margin-bottom: 35px !important;
    text-align: center !important;
}

.logo-container img {
    height: 48px !important;
    width: auto !important;
    object-fit: contain !important;
}

.auth-card {
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    width: 100% !important;
    padding: 40px 30px !important;
    position: relative !important;
    border: 1px solid #f0f0f0 !important;
}

.auth-card h3 {
    font-size: 22px !important;
    font-weight: 800 !important;
    margin-bottom: 25px !important;
    color: #31353B !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 0 !important;
}

.register-link {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #7367f0 !important;
    text-decoration: none !important;
}

.form-label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #31353B !important;
    margin-bottom: 8px !important;
    display: block !important;
    text-align: left !important;
}

.form-control-custom {
    border: 1px solid #E5E7E9 !important;
    border-radius: 8px !important;
    padding: 12px !important;
    font-size: 14px !important;
    width: 100% !important;
    background-color: #fff !important;
    margin-bottom: 15px !important;
    transition: border-color 0.2s !important;
}

.form-control-custom:focus {
    border-color: #7367f0 !important;
    outline: none !important;
    box-shadow: 0 0 0 0.15rem rgba(115, 103, 240, 0.25) !important;
}

.btn-submit-green {
    background-color: #7367f0 !important;
    border: none !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 12px !important;
    width: 100% !important;
    margin-top: 20px !important;
    cursor: pointer !important;
    font-size: 15px !important;
    transition: background-color 0.2s !important;
}

.btn-submit-green:hover {
    background-color: #685dd8 !important;
}

.help-container {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: -5px !important;
    margin-bottom: 15px !important;
}

.help-link {
    font-size: 13px !important;
    color: #7367f0 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.social-divider {
    display: flex !important;
    align-items: center !important;
    text-align: center !important;
    margin: 25px 0 !important;
    color: #abb2be !important;
    font-size: 12px !important;
}

.social-divider::before,
.social-divider::after {
    content: '' !important;
    flex: 1 !important;
    border-bottom: 1px solid #E5E7E9 !important;
}

.social-divider:not(:empty)::before { margin-right: .8em !important; }
.social-divider:not(:empty)::after { margin-left: .8em !important; }

.social-btn-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.btn-social-outline {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #E5E7E9 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    padding: 10px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #31353B !important;
    width: 100% !important;
    text-decoration: none !important;
}

.btn-social-outline img {
    height: 18px !important;
    margin-right: 10px !important;
}

.btn-social-outline i {
    font-size: 18px !important;
    margin-right: 10px !important;
}

.footer-cr {
    margin-top: 50px !important;
    font-size: 13px !important;
    color: #6C727C !important;
    text-align: center !important;
    font-weight: 500 !important;
}

.footer-cr span {
    color: #7367f0 !important;
    font-weight: 700 !important;
    margin-left: 10px !important;
}

.pass-wrapper {
    position: relative !important;
    width: 100% !important;
}

.pass-wrapper .form-control-custom {
    padding-right: 40px !important;
}

.toggle-pass {
    position: absolute !important;
    right: 12px !important;
    top: 12px !important;
    cursor: pointer !important;
    color: #abb2be !important;
    z-index: 5 !important;
    font-size: 20px !important;
}

@media (max-width: 576px) {
    .auth-card {
        padding: 30px 20px !important;
    }
}
