/* Admin Authentication Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --admin-bg-white: #ffffff;
    --admin-primary: #198FCC;
    --admin-secondary: #FFE61C;
    --admin-primary-light: #198FCC;
    --admin-text-dark: #000000;
    --admin-primary-dark: #198FCC;
    --admin-text-gray: #6b7280;
    --admin-text-light: #9ca3af;
    --admin-border: #e5e7eb;
    --admin-bg-light: #f0f7ff;
    --admin-error: #ef4444;
    --admin-success: #10b981;
    --admin-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --admin-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Bootstrap 5 Variable Overrides */
    --bs-primary: #242D5C;
    --bs-secondary: #FFE61C;
    --bs-success: #10b981;
    --bs-danger: #ef4444;
    --bs-border-color: #e5e7eb;
    --bs-body-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --bs-body-font-weight: 600;
    --bs-body-line-height: 1;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Admin Auth Body */
.admin-auth-body {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Login Wrapper with Background Image */
.admin-login-wrapper {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Login Container */
.admin-login-container {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 6rem;
}

.admin-login-card {
    background: transparent;
    border-radius: 20px;
    padding: 2rem 2.5rem 3rem;
    width: 100%;
    max-width: 450px;
    box-shadow: none;
    border: none;
}



.admin-login-logo-img {
    position: relative;
    width: 240px;
    height: 125.13px;
    left: 75.98px;
    bottom: 16px;

}

.admin-login-logo-img-forgot {
    position: relative;
    width: 128px;
    height: 107.13px;
    left: 38.98px;
    bottom: 16px;
}

.admin-login-logo-text {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    font-size: 1.25rem;
}

.admin-logo-cuatro {
    color: #ffffff;
}

.admin-logo-d {
    color: var(--admin-secondary);
}

/* Form Wrapper */
.admin-login-form-wrapper {
    width: 100%;
}

.admin-login-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--admin-text-dark);
    text-align: center;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.admin-login-subtitle {
    font-size: 0.875rem;
    color: var(--admin-text-gray);
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.divider-text {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.divider-text hr {
    flex: 1;
    border: none;
    border-top: 1px solid #ddd;
}

.divider-text .admin-login-subtitle {
    margin: 0;
    color: #666;
    font-size: 14px;
    white-space: nowrap;
}

/* Form Styles */
.admin-login-form {
    width: 100%;
}

.admin-form-group {
    margin-bottom: 1.5rem;
}

.admin-form-label {
    display: block;
    font-size: 0.875rem;
    color: var(--admin-text-dark);
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.admin-form-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.admin-form-input-wrapper {
    position: relative;
}

.admin-form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--admin-text-dark);
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.admin-form-input:focus {
    outline: none;
    border-color: var(--admin-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
    background: rgba(255, 255, 255, 1);
}

.admin-form-input::placeholder {
    color: var(--admin-text-light);
}

.admin-form-input-error {
    border-color: var(--admin-error);
}

.admin-form-input-error:focus {
    border-color: var(--admin-error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.admin-form-toggle-password {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: var(--admin-text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.admin-form-toggle-password:hover {
    color: var(--admin-text-dark);
}

.admin-eye-icon {
    width: 20px;
    height: 20px;
}

.admin-form-link {
    font-size: 0.875rem;
    color: var(--admin-primary);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.admin-form-link:hover {
    color: var(--admin-primary-dark);
    text-decoration: underline;
}

.admin-form-error {
    display: block;
    font-size: 0.75rem;
    color: var(--admin-error);
    margin-top: 0.375rem;
}

.admin-form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--admin-text-dark);
    cursor: pointer;
}

.admin-form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--admin-primary);
}

.admin-form-submit {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: var(--admin-primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.admin-form-submit:hover {
    background: var(--admin-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--admin-shadow);
}

.admin-form-submit:active {
    transform: translateY(0);
}

.admin-form-footer {
    text-align: center;
    margin-top: 1.5rem;
}

/* Alerts */
.admin-alert {
    padding: 0.875rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.admin-alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--admin-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.admin-alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--admin-error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.admin-alert-error ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.admin-alert-error li {
    margin-top: 0.25rem;
}

/* Footer */
.admin-login-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 2rem;
    background: transparent;
    z-index: 1;
    margin-top: auto;
}

.admin-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-footer-left,
.admin-footer-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.admin-footer-copyright {
    font-size: 0.875rem;
    color: var(--admin-text-gray);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.admin-footer-link {
    font-size: 0.875rem;
    color: var(--admin-primary);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.admin-footer-link:hover {
    color: var(--admin-primary-dark);
    text-decoration: underline;
}

/* Password Recovery Card Styles */
.admin-recovery-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    padding: 0;
    width: 100%;
    height: 550px;
    max-width: 900px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    overflow: hidden;
}

.admin-recovery-left {
    flex: 1;
    padding: 3rem 3.5rem;
    display: flex;
    flex-direction: column;
}

.admin-recovery-right {
    flex: 1;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid var(--admin-border);
}

.admin-recovery-logo {
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.admin-recovery-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.admin-recovery-form-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.admin-recovery-title {
    font-size: 2rem;
    color: var(--admin-text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.admin-recovery-subtitle {
    font-size: 0.9375rem;
    color: var(--admin-text-gray);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.admin-recovery-form {
    width: 100%;
}

.admin-recovery-form-group {
    margin-bottom: 2rem;
}

.admin-recovery-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--admin-text-dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-recovery-input-wrapper {
    position: relative;
}

.admin-recovery-input {
    width: 100%;
    padding: 0.875rem 1rem;
    padding-right: 3rem;
    font-size: 0.9375rem;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background: var(--admin-bg-white);
    color: var(--admin-text-dark);
    transition: all 0.2s ease;
}

.admin-recovery-input:focus {
    outline: none;
    border-color: var(--admin-primary);
    box-shadow: 0 0 0 3px rgba(36, 45, 92, 0.1);
}

.admin-recovery-input::placeholder {
    color: var(--admin-text-light);
}

.admin-recovery-input-error {
    border-color: var(--admin-error);
}

.admin-recovery-input-error:focus {
    border-color: var(--admin-error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.admin-recovery-check-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--admin-primary);
    color: var(--admin-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.admin-recovery-submit {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: var(--admin-primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.admin-recovery-submit:hover {
    background: var(--admin-primary-light);
    transform: translateY(-1px);
    box-shadow: var(--admin-shadow);
}

.admin-recovery-submit:active {
    transform: translateY(0);
}

/* Recovery Right Side */
.admin-recovery-info {
    text-align: center;
    width: 100%;
}

.admin-recovery-icon-wrapper {
    display: flex;
}

.admin-recovery-icon {
    width: 120px;
    height: 120px;
    color: var(--admin-primary);
}

.admin-recovery-info-title {
    font-size: 1.75rem;
    color: var(--admin-text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.admin-recovery-info-subtitle {
    font-size: 1rem;
    color: var(--admin-text-gray);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 968px) {
    .admin-recovery-card {
        flex-direction: column;
        max-width: 500px;
    }

    .admin-recovery-right {
        border-left: none;
        border-top: 1px solid var(--admin-border);
        padding: 2rem;
    }

    .admin-recovery-left {
        padding: 2.5rem 2rem;
    }

    .admin-recovery-icon {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 640px) {
    .admin-login-card {
        padding: 2rem 1.5rem;
    }

    .admin-login-title {
        font-size: 1.75rem;
    }

    .admin-recovery-card {
        max-width: 100%;
        border-radius: 16px;
    }

    .admin-recovery-left {
        padding: 2rem 1.5rem;
    }

    .admin-recovery-right {
        padding: 1.5rem;
    }

    .admin-recovery-title {
        font-size: 1.5rem;
    }

    .admin-recovery-info-title {
        font-size: 1.5rem;
    }

    .admin-footer-content {
        flex-direction: column;
        text-align: center;
    }

    .admin-footer-left,
    .admin-footer-right {
        justify-content: center;
    }
}

.wo-bg-import-btn {
    background-color: #242D5C !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    height: 46px;
    font-size: 14px;
    width: auto;
    /* auto based on text */
    /* padding: 0 16px; */
    /* spacing left/right */
    white-space: nowrap;
    border: none !important;
}

.common-text {
    color: #242D5C;
    font-size: 15px;
    font-weight: 500;
    text-decoration: underline;
}



.lock-icon-wrapper {
    width: 39px;
    height: 39px;
    border: 2px solid #2c3e6f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 13px;
    position: relative;
}

.forget-title {
    color: #242D5C;
    font-size: 32px;
    font-weight: 700;
}

.lock-icon-wrapper i {
    font-size: 21px;
    color: #242D5C;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.forget-text {

    color: #747577 !important;
    font-weight: 400 !important;
    font-size: 13px !important;

}

input {
    border: 1px solid #D0D3DB !important;
    border-radius: 8px !important;
}

.sign-in-with {
    border-top: 1px solid #CCD9E6 !important;
}

.input.form-control.form-control-lg {
    font-weight: 500 !important;
    font-size: 15px !important;
    color: #17191C !important;
}

.sing-title {
    font-weight: 400 !important;
    font-size: 13px !important;
    color: #747577 !important;
    padding-left: 38px !important;
}

.letter-input {
    width: 60px;
    height: 60px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #1a2332;
    background: white;
    transition: all 0.3s ease;
}

.letter-input:focus {
    border-color: #4a5f9d;
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 95, 157, 0.1);
}

.letter-input:hover {
    border-color: #9ca3af;
}

.gap-5 {
    gap: 46px !important;
}