/* Professional Employer Login Styles */
body {
    background: white;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 100vh;
}

.login-wrapper {
    background: white;
    position: relative;
    overflow: hidden;
}

.login-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 16px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
    overflow: hidden;
    max-width: 440px;
    margin: 0 auto;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #000C4F 0%, #B61272 50%, #000C4F 100%);
    z-index: 1;
}

.card-header {
    background: transparent;
    border: none;
    padding: 2.5rem 2.5rem 1rem 2.5rem;
    text-align: center;
}

.logo-section {
    margin-bottom: 1.5rem;
}

.logo-section img {
    height: 50px;
    width: auto;
}

.vertical-divider {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #000C4F, #B61272);
    margin: 0 1rem;
    border-radius: 1px;
}

.section-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000C4F;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.employers-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.employers-title-sub {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
}

.card-body {
    padding: 0 2.5rem 2.5rem 2.5rem;
}

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

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-label.required::after {
    content: '*';
    color: #ef4444;
    margin-left: 0.25rem;
}

.input-field {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    position: relative;
    width: 100%;
}

.input-field:focus {
    outline: none;
    border-color: #000C4F;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 12, 79, 0.1);
}

.input-field::placeholder {
    color: #9ca3af;
}

.password-wrapper {
    position: relative;
}

.eye-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10;
}

.eye-icon:hover {
    color: #000C4F;
}

.forgot-password {
    text-align: right;
    margin: 1.5rem 0;
}

.forgot-password a {
    color: #B61272;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.forgot-password a:hover {
    color: #000C4F;
    text-decoration: underline;
}

.btn-login {
    background: #000C4F;
    border: none;
    border-radius: 12px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    background: #B61272;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 12, 79, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

.register-link {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.register-link .indicator-label {
    color: #6b7280;
    font-size: 0.95rem;
}

.register-link a {
    color: #B61272;
    text-decoration: none;
    font-weight: 600;
    margin-left: 0.5rem;
    transition: color 0.2s ease;
}

.register-link a:hover {
    color: #000C4F;
    text-decoration: underline;
}

/* Modal Styles */
.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.modal-header {
    background: linear-gradient(135deg, #000C4F 0%, #B61272 100%);
    color: white;
    border-radius: 16px 16px 0 0;
    border: none;
}

.modal-title {
    font-weight: 600;
}

.btn-close {
    filter: invert(1);
}

/* Responsive */
@media (max-width: 768px) {
    .login-card {
        margin: 1rem;
        border-radius: 16px;
    }

    .card-header {
        padding: 2rem 1.5rem 1rem 1.5rem;
    }

    .card-body {
        padding: 0 1.5rem 2rem 1.5rem;
    }

    .employers-title {
        font-size: 1.5rem;
    }

    .logo-section img {
        height: 40px;
    }

    .vertical-divider {
        height: 30px;
    }
}

/* Loading Animation */
.btn-login .indicator-progress {
    display: none;
}

.btn-login.loading .indicator-label {
    display: none;
}

.btn-login.loading .indicator-progress {
    display: inline-flex;
    align-items: center;
}

/* Focus States for Accessibility */
.btn-login:focus,
.input-field:focus,
.forgot-password a:focus,
.register-link a:focus {
    outline: 2px solid #000C4F;
    outline-offset: 2px;
}
