/* ============================================
   Modern Auth (Login/Register) Styles
   ============================================ */

/* Modern Account Section */
.account-inner {
    display: flex;
    min-height: 100vh;
    overflow: hidden;
    background: #f8f9fb;
}

/* Modern Left Side - Image Section */
.account-left {
    width: 40%;
    position: relative;
    z-index: 1;
    padding: 88px 15px 20px;
    background: var(--gradient-bg);
}

.account-left__thumb {
    position: relative;
    z-index: 2;
}

.account-left__thumb img {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 1499px) {
    .account-left {
        padding: 130px 10px 10px;
    }
}

@media screen and (max-width: 1399px) {
    .account-left {
        padding: 150px 10px 10px;
    }
}

@media screen and (max-width: 991px) {
    .account-left {
        display: none;
    }
}

/* Modern Right Side - Form Section */
.account-right {
    position: relative;
    width: 60%;
    padding: 60px 50px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media screen and (max-width: 1199px) {
    .account-right {
        padding: 60px 40px;
    }
}

@media screen and (max-width: 991px) {
    .account-right {
        width: 100%;
        padding: 70px 40px;
    }
}

@media screen and (max-width: 575px) {
    .account-right {
        padding: 50px 20px;
    }
}

/* Modern Form Wrapper */
.account-form-wrapper {
    position: relative;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

@media screen and (max-width: 1199px) {
    .account-form-wrapper {
        max-width: 480px;
        padding: 0 30px;
    }
}

@media screen and (max-width: 991px) {
    .account-form-wrapper {
        max-width: 540px;
        padding: 0 40px;
    }
}

@media screen and (max-width: 767px) {
    .account-form-wrapper {
        max-width: 100%;
        padding: 0 40px;
    }
}

@media screen and (max-width: 575px) {
    .account-form-wrapper {
        padding: 0 24px;
    }
}

.account-form-wrapper .title {
    font-size: 2.25rem;
    font-weight: 700;
    color: hsl(var(--heading-color));
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

@media screen and (max-width: 575px) {
    .account-form-wrapper .title {
        font-size: 1.875rem;
    }
}

.account-form-wrapper .sub-title {
    color: hsl(var(--base));
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 6px;
}

.account-form-wrapper .desc {
    font-size: 0.9375rem;
    color: hsl(var(--heading-color)/0.6);
    margin-bottom: 36px;
    line-height: 1.6;
}

/* Modern Form Styles */
.account-form {
    max-width: 100%;
    width: 100%;
}

.account-form .form-group {
    position: relative;
    margin-bottom: 22px;
}

.account-form .form--label {
    font-weight: 600;
    font-size: 0.9375rem;
    color: hsl(var(--heading-color));
    margin-bottom: 10px;
    display: block;
}

.account-form .form--control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid hsl(var(--border-color)/0.25);
    border-radius: 12px;
    font-size: 1rem;
    color: hsl(var(--heading-color));
    background: #ffffff;
    transition: all 0.3s ease;
}

.account-form .form--control:focus {
    border-color: hsl(var(--base));
    box-shadow: 0 0 0 4px hsla(var(--base-h), var(--base-s), var(--base-l), 0.1);
    outline: none;
}

.account-form .form--control::placeholder {
    color: hsl(var(--heading-color)/0.4);
}

/* Password Toggle */
.account-form .position-relative {
    position: relative;
}

.account-form .password-show-hide {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: hsl(var(--heading-color)/0.5);
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

.account-form .password-show-hide:hover {
    color: hsl(var(--base));
}

/* Modern Button */
.account-form .btn--base-two {
    width: 100%;
    padding: 17px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.0625rem;
    background: linear-gradient(135deg, hsl(var(--base)) 0%, hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 10%)) 100%);
    border: none;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px hsla(var(--base-h), var(--base-s), var(--base-l), 0.25);
    letter-spacing: 0.3px;
}

.account-form .btn--base-two:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px hsla(var(--base-h), var(--base-s), var(--base-l), 0.35);
}

.account-form .btn--base-two:active {
    transform: translateY(0);
}

/* Checkbox Styles */
.account-form .form-check-input {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid hsl(var(--border-color)/0.5);
    border-radius: 6px;
    margin-right: 10px;
    margin-top: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.account-form .form-check-input:checked {
    background-color: hsl(var(--base));
    border-color: hsl(var(--base));
}

.account-form .form-check-input:focus {
    box-shadow: 0 0 0 4px hsla(var(--base-h), var(--base-s), var(--base-l), 0.1);
}

.account-form .form-check-label {
    font-size: 0.9375rem;
    color: hsl(var(--heading-color)/0.8);
    margin-right: 6px;
    line-height: 1.5;
}

.account-form .d-flex.align-items-center {
    align-items: flex-start !important;
    flex-wrap: wrap;
    gap: 4px;
}

.account-form .d-flex.align-items-center .link {
    display: inline;
    margin-right: 4px;
}

@media screen and (max-width: 575px) {
    .account-form .form-check-label {
        font-size: 0.875rem;
    }

    .account-form .d-flex.align-items-center {
        gap: 2px;
    }
}

/* Links */
.account-form .link {
    color: hsl(var(--base));
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.account-form .link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: hsl(var(--base));
    transition: width 0.3s ease;
}

.account-form .link:hover::after {
    width: 100%;
}

.account-form .link:hover {
    color: hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 10%));
}

.account-form .switch {
    text-align: center;
    font-size: 0.9375rem;
    color: hsl(var(--heading-color)/0.7);
    margin-top: 24px;
}

.account-form .forgot {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 0.9375rem;
    color: hsl(var(--heading-color)/0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.account-form .forgot:hover {
    color: hsl(var(--base));
}

/* Modern Footer */
.account-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid hsl(var(--border-color)/0.2);
}

.account-footer.login--page {
    position: relative;
    width: 100%;
    bottom: auto;
}

.account-footer__text {
    font-size: 0.8125rem;
    color: hsl(var(--heading-color)/0.6);
    margin-bottom: 8px;
}

.account-footer__text .text--base {
    color: hsl(var(--base));
    font-weight: 600;
    text-decoration: none;
}

.account-footer__text .text--base:hover {
    text-decoration: underline;
}

.account-footer__right {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.account-footer__right-link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: hsl(var(--heading-color)/0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.account-footer__right-link::after {
    display: none;
}

.account-footer__right-link:hover {
    color: hsl(var(--base));
}

@media screen and (max-width: 767px) {
    .account-footer {
        text-align: center;
    }

    .account-footer__right {
        justify-content: center;
    }
}

/* Social Login Styles */
.social-auth {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.social-login-btn {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid hsl(var(--border-color)/0.25);
    border-radius: 12px;
    background: #ffffff;
    color: hsl(var(--heading-color));
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-login-btn:hover {
    border-color: hsl(var(--base));
    background: hsla(var(--base-h), var(--base-s), var(--base-l), 0.04);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    color: hsl(var(--heading-color));
}

.social-login-btn img {
    width: 20px;
    height: 20px;
}

/* Divider */
.account-form .divider,
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 32px 0;
    color: hsl(var(--heading-color)/0.5);
    font-size: 0.875rem;
    font-weight: 500;
}

.account-form .divider::before,
.account-form .divider::after,
.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid hsl(var(--border-color)/0.25);
}

.account-form .divider::before,
.divider::before {
    margin-right: 18px;
}

.account-form .divider::after,
.divider::after {
    margin-left: 18px;
}

/* Modal Styles */
.custom--modal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.custom--modal .btn-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: hsl(var(--border-color)/0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.custom--modal .btn-close:hover {
    background: hsl(var(--border-color)/0.2);
    transform: rotate(90deg);
}

.custom--modal .modal-body {
    padding: 40px;
}

.custom--modal .modal-body .notice-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--heading-color));
    margin-bottom: 16px;
}

.custom--modal .btn--base {
    border-radius: 10px;
    padding: 12px 32px;
    font-weight: 600;
}

/* Loading State */
.account-form .btn--base-two:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

.account-form-wrapper {
    animation: fadeInUp 0.6s ease;
}

.account-form .form-group {
    animation: slideInRight 0.5s ease;
    animation-fill-mode: both;
}

.account-form .form-group:nth-child(1) {
    animation-delay: 0.1s;
}

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

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

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

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

.account-form .form-group:nth-child(6) {
    animation-delay: 0.35s;
}

.account-form .form-group:nth-child(7) {
    animation-delay: 0.4s;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    .account-form-wrapper,
    .account-form .form-group,
    .account-left__thumb {
        animation: none;
    }
}

/* Responsive Adjustments */


@media screen and (max-width: 991px) {
    .account-inner {
        min-height: auto;
    }

    .account-right {
        min-height: 100vh;
    }
}

@media screen and (max-width: 575px) {
    .account-form-wrapper .title {
        font-size: 1.5rem;
    }

    .account-form-wrapper .sub-title {
        font-size: 1rem;
    }

    .account-form-wrapper .desc {
        font-size: 0.9375rem;
        margin-bottom: 24px;
    }

    .account-form .form--control {
        padding: 14px 16px;
        font-size: 0.9375rem;
    }

    .account-form .btn--base-two {
        padding: 16px 20px;
        font-size: 1rem;
    }

    .account-form .form-group {
        margin-bottom: 18px;
    }

    .social-login-btn {
        padding: 14px 18px;
    }

    .account-footer {
        padding-top: 30px;
    }
}

/* Focus Visible for Accessibility */
.account-form .form--control:focus-visible,
.account-form .btn--base-two:focus-visible,
.account-form .form-check-input:focus-visible {
    outline: 2px solid hsl(var(--base));
    outline-offset: 2px;
}

/* Error States */
.account-form .form--control.is-invalid {
    border-color: #e74c3c;
}

.account-form .form--control.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
}

/* Success States */
.account-form .form--control.is-valid {
    border-color: #27ae60;
}

.account-form .form--control.is-valid:focus {
    box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.1);
}

/* Auth Header Adjustments */
.header+.account {
    margin-top: 0;
}

.account {
    position: relative;
}

/* Ensure header is above account section */
.header {
    position: relative;
    z-index: 100;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {

    .account-left,
    .account-footer,
    .header {
        display: none;
    }

    .account-right {
        width: 100%;
    }
}

/* Validation Error Messages */
.invalid-feedback,
.error-message {
    display: block;
    margin-top: 6px;
    font-size: 0.8125rem;
    color: #e74c3c;
    font-weight: 500;
}

.valid-feedback {
    display: block;
    margin-top: 6px;
    font-size: 0.8125rem;
    color: #27ae60;
    font-weight: 500;
}

/* Alert Styles for Auth Pages */
.account-form .alert {
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 20px;
    border: none;
    font-size: 0.9375rem;
}

.account-form .alert-success {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
}

.account-form .alert-danger {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.account-form .alert-warning {
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
}

.account-form .alert-info {
    background: hsla(var(--base-h), var(--base-s), var(--base-l), 0.1);
    color: hsl(var(--base));
}

/* ============================================
   Border Radius Reference (matching modern-header.css)
   ============================================
   - Small elements (checkboxes, badges): 6px, 8px
   - Medium elements (buttons, inputs, dropdowns): 10px, 12px
   - Large elements (cards, modals, containers): 16px
   - Extra large (images): 16px
   ============================================ */

/* ============================================
   Modern Password Reset & Related Pages
   ============================================ */

/* Password Reset Container */
.login-wrapper {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px !important;
    margin: 0 auto;
}

@media screen and (max-width: 575px) {
    .login-wrapper {
        padding: 30px 24px !important;
    }
}

/* Custom Card Styles */
.custom--card {
    border: none;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
}

.custom--card .card-body {
    padding: 0;
}

/* Password Reset Sections */
section.pt-120,
section.pb-120,
section.py-120 {
    background: #f8f9fb;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Verification Code Wrapper */
.verification-code-wrapper {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    width: 100%;
    max-width: 500px;
}

@media screen and (max-width: 575px) {
    .verification-code-wrapper {
        padding: 30px 24px;
    }
}

.verification-area h5 {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--heading-color));
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid hsl(var(--border-color)/0.2) !important;
}

.verification-area p {
    font-size: 0.9375rem;
    color: hsl(var(--heading-color)/0.7);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Modern Verification Code Input */
.modern-verify-label {
    font-weight: 600;
    font-size: 0.9375rem;
    color: hsl(var(--heading-color));
    display: block;
}

.modern-verification-code {
    position: relative;
    margin-bottom: 0 !important;
}

.modern-verify-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 10;
    cursor: text;
    font-size: 16px;
}

.modern-verify-boxes {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 20px 0;
    cursor: text;
}

.modern-verify-box {
    width: 56px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid hsl(var(--border-color)/0.25);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.modern-verify-box span {
    font-size: 1.75rem;
    font-weight: 700;
    color: hsl(var(--heading-color));
    line-height: 1;
}

.modern-verify-box.filled {
    border-color: hsl(var(--base));
    background: hsla(var(--base-h), var(--base-s), var(--base-l), 0.05);
    transform: scale(1.05);
}

.modern-verify-box::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 2px;
    background: hsl(var(--border-color)/0.4);
    border-radius: 2px;
}

.modern-verify-box.filled::after {
    display: none;
}

/* Focus state */
.modern-verification-code:focus-within .modern-verify-box:not(.filled):first-of-type,
.modern-verification-code:focus-within .modern-verify-box.filled+.modern-verify-box:not(.filled) {
    border-color: hsl(var(--base));
    box-shadow: 0 0 0 4px hsla(var(--base-h), var(--base-s), var(--base-l), 0.1);
}

@media screen and (max-width: 575px) {
    .modern-verify-boxes {
        gap: 8px;
    }

    .modern-verify-box {
        width: 46px;
        height: 56px;
    }

    .modern-verify-box span {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 400px) {
    .modern-verify-boxes {
        gap: 6px;
    }

    .modern-verify-box {
        width: 42px;
        height: 52px;
    }

    .modern-verify-box span {
        font-size: 1.375rem;
    }
}

/* Legacy verification code support (fallback) */
.verification-code {
    position: relative;
    margin-bottom: 24px;
}

.verification-code input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 10;
    cursor: text;
}

.verification-code .boxes {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 20px 0;
}

.verification-code .boxes span {
    width: 50px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--heading-color));
    background: #ffffff;
    border: 2px solid hsl(var(--border-color)/0.25);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.verification-code .boxes span:not(:empty) {
    border-color: hsl(var(--base));
    background: hsla(var(--base-h), var(--base-s), var(--base-l), 0.05);
}

@media screen and (max-width: 575px) {
    .verification-code .boxes {
        gap: 8px;
    }

    .verification-code .boxes span {
        width: 42px;
        height: 52px;
        font-size: 1.25rem;
    }
}

/* Password Reset Form Styles */
.login-wrapper .form-group {
    margin-bottom: 22px;
}

.login-wrapper .form--label {
    font-weight: 600;
    font-size: 0.9375rem;
    color: hsl(var(--heading-color));
    margin-bottom: 10px;
    display: block;
}

.login-wrapper .form--control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid hsl(var(--border-color)/0.25);
    border-radius: 12px;
    font-size: 1rem;
    color: hsl(var(--heading-color));
    background: #ffffff;
    transition: all 0.3s ease;
}

.login-wrapper .form--control:focus {
    border-color: hsl(var(--base));
    box-shadow: 0 0 0 4px hsla(var(--base-h), var(--base-s), var(--base-l), 0.1);
    outline: none;
}

.login-wrapper .btn--base,
.login-wrapper .btn--base-two {
    padding: 15px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    background: linear-gradient(135deg, hsl(var(--base)) 0%, hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 10%)) 100%);
    border: none;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px hsla(var(--base-h), var(--base-s), var(--base-l), 0.25);
}

.login-wrapper .btn--base:hover,
.login-wrapper .btn--base-two:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px hsla(var(--base-h), var(--base-s), var(--base-l), 0.35);
}

.login-wrapper .text--base {
    color: hsl(var(--base));
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-wrapper .text--base:hover {
    color: hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 10%));
    text-decoration: underline;
}

/* Verification Area Links */
.verification-area .text--base {
    color: hsl(var(--base));
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.verification-area .text--base:hover {
    color: hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 10%));
    text-decoration: underline;
}

/* Password Reset Success Message */
.login-wrapper p {
    font-size: 0.9375rem;
    color: hsl(var(--heading-color)/0.7);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Flex Between for Reset Password */
.d-felx.flex-wrap.align-items-center.flex-between {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

@media screen and (max-width: 575px) {
    .d-felx.flex-wrap.align-items-center.flex-between {
        flex-direction: column;
        align-items: stretch;
    }

    .d-felx.flex-wrap.align-items-center.flex-between .btn--base {
        width: 100%;
    }

    .d-felx.flex-wrap.align-items-center.flex-between .text--base {
        text-align: center;
    }
}

/* User Password Change Page (Dashboard) */
.register .form-group {
    margin-bottom: 22px;
}

.register .form--label {
    font-weight: 600;
    font-size: 0.9375rem;
    color: hsl(var(--heading-color));
    margin-bottom: 10px;
    display: block;
}

.register .form--control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid hsl(var(--border-color)/0.25);
    border-radius: 12px;
    font-size: 1rem;
    color: hsl(var(--heading-color));
    background: #ffffff;
    transition: all 0.3s ease;
}

.register .form--control:focus {
    border-color: hsl(var(--base));
    box-shadow: 0 0 0 4px hsla(var(--base-h), var(--base-s), var(--base-l), 0.1);
    outline: none;
}

.register .btn--base-two {
    padding: 15px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    background: linear-gradient(135deg, hsl(var(--base)) 0%, hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 10%)) 100%);
    border: none;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px hsla(var(--base-h), var(--base-s), var(--base-l), 0.25);
    cursor: pointer;
}

.register .btn--base-two:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px hsla(var(--base-h), var(--base-s), var(--base-l), 0.35);
}

/* Loading Spinner */
.la-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Adjustments for Password Pages */
@media screen and (max-width: 767px) {

    section.pt-120,
    section.pb-120,
    section.py-120 {
        padding: 60px 0;
    }
}

/* Focus States for Accessibility */
.login-wrapper .form--control:focus-visible,
.login-wrapper .btn--base:focus-visible,
.login-wrapper .btn--base-two:focus-visible,
.register .form--control:focus-visible,
.register .btn--base-two:focus-visible {
    outline: 2px solid hsl(var(--base));
    outline-offset: 2px;
}

/* Overflow Visible Fix */
.overflow-visible {
    overflow: visible !important;
}

/* ============================================
   Modern Authorization & Verification Pages
   ============================================ */

/* Verification Text */
.verification-text {
    font-size: 0.9375rem;
    color: hsl(var(--heading-color)/0.7);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Countdown & Try Again */
.countdown-wrapper {
    display: inline-block;
    color: hsl(var(--heading-color)/0.7);
}

.countdown-wrapper #countdown {
    color: hsl(var(--base));
    font-weight: 700;
    font-size: 1.125rem;
}

.try-again-link {
    color: hsl(var(--base));
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.try-again-link:hover {
    color: hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 10%));
    text-decoration: underline;
}

/* Verification Area Form Groups */
.verification-area .form-group,
.verification-area .form--group {
    margin-bottom: 20px;
}

.verification-area .form-group p {
    font-size: 0.875rem;
    color: hsl(var(--heading-color)/0.65);
    line-height: 1.6;
    margin-bottom: 8px;
}

.verification-area .text-danger {
    color: #e74c3c !important;
    font-size: 0.8125rem;
    margin-top: 8px;
}

/* Submit Button in Verification */
.verification-area .btn--base,
.verification-area .btn--base-two {
    width: 100%;
    padding: 17px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.0625rem;
    background: linear-gradient(135deg, hsl(var(--base)) 0%, hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 10%)) 100%);
    border: none;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px hsla(var(--base-h), var(--base-s), var(--base-l), 0.25);
    letter-spacing: 0.3px;
}

.verification-area .btn--base:hover,
.verification-area .btn--base-two:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px hsla(var(--base-h), var(--base-s), var(--base-l), 0.35);
}

/* Ban Page Styles */
section.pt-120.pb-120.mt-5.mb-5 {
    background: #f8f9fb;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.text-danger {
    color: #e74c3c !important;
}

.fw-bold {
    font-weight: 700 !important;
}

/* Ban Message Container */
section.pt-120.pb-120.mt-5.mb-5 .container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 60px 40px;
}

section.pt-120.pb-120.mt-5.mb-5 h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

section.pt-120.pb-120.mt-5.mb-5 p {
    font-size: 1rem;
    color: hsl(var(--heading-color)/0.7);
    line-height: 1.6;
}

section.pt-120.pb-120.mt-5.mb-5 p.fw-bold {
    color: hsl(var(--heading-color));
    font-size: 1.125rem;
    margin-bottom: 12px;
}

@media screen and (max-width: 767px) {
    section.pt-120.pb-120.mt-5.mb-5 .container {
        padding: 40px 24px;
    }

    section.pt-120.pb-120.mt-5.mb-5 h3 {
        font-size: 1.5rem;
    }
}

/* Responsive Adjustments for Verification Pages */
@media screen and (max-width: 575px) {
    .verification-text {
        font-size: 0.875rem;
    }

    .countdown-wrapper {
        font-size: 0.875rem;
    }

    .countdown-wrapper #countdown {
        font-size: 1rem;
    }
}

/* Animation for Modern Verification Code Boxes */
.modern-verify-box {
    animation: fadeInScale 0.3s ease;
    animation-fill-mode: both;
}

.modern-verify-box:nth-child(1) {
    animation-delay: 0.05s;
}

.modern-verify-box:nth-child(2) {
    animation-delay: 0.1s;
}

.modern-verify-box:nth-child(3) {
    animation-delay: 0.15s;
}

.modern-verify-box:nth-child(4) {
    animation-delay: 0.2s;
}

.modern-verify-box:nth-child(5) {
    animation-delay: 0.25s;
}

.modern-verify-box:nth-child(6) {
    animation-delay: 0.3s;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Pulse animation when filled */
@keyframes pulseBox {

    0%,
    100% {
        transform: scale(1.05);
    }

    50% {
        transform: scale(1.1);
    }
}

.modern-verify-box.filled {
    animation: pulseBox 0.3s ease;
}

/* Legacy animation support */
.verification-code .boxes span {
    animation: fadeInScale 0.3s ease;
    animation-fill-mode: both;
}

.verification-code .boxes span:nth-child(1) {
    animation-delay: 0.05s;
}

.verification-code .boxes span:nth-child(2) {
    animation-delay: 0.1s;
}

.verification-code .boxes span:nth-child(3) {
    animation-delay: 0.15s;
}

.verification-code .boxes span:nth-child(4) {
    animation-delay: 0.2s;
}

.verification-code .boxes span:nth-child(5) {
    animation-delay: 0.25s;
}

.verification-code .boxes span:nth-child(6) {
    animation-delay: 0.3s;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    .modern-verify-box,
    .verification-code .boxes span {
        animation: none;
    }

    .modern-verify-box.filled {
        transform: scale(1.05);
    }
}

/* ============================================
   Modern Alert & Error Messages
   ============================================ */

/* Modern Alert */
.modern-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: none;
    animation: slideInDown 0.3s ease;
}

.modern-alert i {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.modern-alert .alert-content {
    flex: 1;
}

.modern-alert .alert-content p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.modern-alert .alert-content p+p {
    margin-top: 8px;
}

.alert-danger.modern-alert {
    background: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border-left: 4px solid #e74c3c;
}

.alert-success.modern-alert {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border-left: 4px solid #27ae60;
}

.alert-warning.modern-alert {
    background: rgba(243, 156, 18, 0.1);
    color: #d68910;
    border-left: 4px solid #f39c12;
}

.alert-info.modern-alert {
    background: hsla(var(--base-h), var(--base-s), var(--base-l), 0.1);
    color: hsl(var(--base));
    border-left: 4px solid hsl(var(--base));
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

/* Outline Button */
.btn--outline {
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    background: transparent;
    border: 2px solid hsl(var(--border-color)/0.3);
    color: hsl(var(--heading-color)) !important;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn--outline:hover {
    border-color: hsl(var(--base));
    background: hsla(var(--base-h), var(--base-s), var(--base-l), 0.05);
    color: hsl(var(--base));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn--outline i {
    font-size: 1.125rem;
}

/* Verification Actions */
.verification-actions {
    margin-top: 14px;
}

.verification-actions .small-text {
    font-size: 0.875rem;
    color: hsl(var(--heading-color)/0.65);
    line-height: 1.6;
    margin: 0;
}

.verification-actions .text--base {
    color: hsl(var(--base));
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.verification-actions .text--base:hover {
    color: hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 10%));
    text-decoration: underline;
}

/* Email Display Strong */
.verification-area p strong {
    color: hsl(var(--base));
    font-weight: 700;
}

/* Responsive Adjustments */
@media screen and (max-width: 575px) {
    .modern-alert {
        padding: 14px 16px;
    }

    .modern-alert i {
        font-size: 1.25rem;
    }

    .modern-alert .alert-content p {
        font-size: 0.875rem;
    }

    .btn--outline {
        padding: 13px 20px;
        font-size: 0.875rem;
    }
}