/* ==========================================================================
   ShaleenJobs - Employer Layout & Authentication Stylesheet
   Path: public/assets/css/employer-css/employer-style.css
   ========================================================================== */

:root {
    --emp-primary: #1E3A8A;
    --emp-primary-hover: #1D4ED8;
    --emp-accent: #0284C7;
    --emp-accent-hover: #0369A1;
    --emp-success: #10B981;
    --emp-warning: #F59E0B;
    --emp-danger: #EF4444;
    --emp-dark: #0F172A;
    --emp-gray-dark: #334155;
    --emp-gray-muted: #64748B;
    --emp-gray-light: #F1F5F9;
    --emp-bg: #F9FAFB;
    --emp-card-bg: #FFFFFF;
    --emp-border: #E2E8F0;
    --emp-radius: 12px;
    --emp-radius-sm: 8px;
    --emp-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
    --emp-shadow-hover: 0 20px 30px -10px rgba(15, 23, 42, 0.15);
}

/* Base resets & layout container */
body.emp-body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--emp-bg);
    color: var(--emp-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

#emp-main-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigation Header */
.emp-header {
    background: #FFFFFF;
    border-bottom: 1px solid var(--emp-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.emp-header .navbar-brand img {
    max-height: 42px;
    width: auto;
}

.emp-nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--emp-gray-dark) !important;
    padding: 12px 18px !important;
    border-radius: var(--emp-radius-sm);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.emp-nav-link:hover, .emp-nav-link.active {
    color: var(--emp-primary) !important;
    background-color: var(--emp-gray-light);
}

.emp-nav-btn-outline {
    border: 1.5px solid var(--emp-primary);
    color: var(--emp-primary) !important;
    font-weight: 600;
    padding: 8px 18px !important;
    border-radius: var(--emp-radius-sm);
    transition: all 0.2s ease;
}

.emp-nav-btn-outline:hover {
    background-color: var(--emp-primary);
    color: #FFFFFF !important;
}

.emp-nav-btn-solid {
    background-color: var(--emp-primary);
    color: #FFFFFF !important;
    font-weight: 600;
    padding: 8px 18px !important;
    border-radius: var(--emp-radius-sm);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
    transition: all 0.2s ease;
}

.emp-nav-btn-solid:hover {
    background-color: var(--emp-primary-hover);
    box-shadow: 0 6px 16px rgba(30, 58, 138, 0.3);
}

/* Employer Hero Section */
.emp-hero-section {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
    color: #FFFFFF;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.emp-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.emp-hero-highlight {
    color: #38BDF8;
}

.emp-hero-subtitle {
    font-size: 1.15rem;
    color: #94A3B8;
    margin-bottom: 30px;
}

.emp-feature-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px 18px;
    border-radius: var(--emp-radius-sm);
    margin-bottom: 14px;
    color: #F8FAFC;
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.emp-feature-pill:hover {
    transform: translateX(6px);
    background: rgba(255, 255, 255, 0.12);
}

.emp-feature-pill i {
    color: #38BDF8;
    font-size: 1.1rem;
}

/* Authentication Cards */
.emp-auth-card {
    background: #FFFFFF;
    border-radius: var(--emp-radius);
    box-shadow: var(--emp-shadow);
    border: 1px solid var(--emp-border);
    padding: 32px;
    transition: box-shadow 0.3s ease;
}

.emp-auth-card:hover {
    box-shadow: var(--emp-shadow-hover);
}

.emp-auth-header {
    border-bottom: 2px solid var(--emp-gray-light);
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.emp-auth-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emp-dark);
    margin: 0;
}

.emp-auth-subtitle {
    font-size: 0.875rem;
    color: var(--emp-gray-muted);
    margin-top: 4px;
}

/* Form Fields & Controls */
.emp-form-group {
    margin-bottom: 20px;
}

.emp-form-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--emp-gray-dark);
    margin-bottom: 6px;
    display: block;
}

.emp-form-control {
    width: 100%;
    height: 48px;
    padding: 10px 16px;
    font-size: 0.925rem;
    border: 1.5px solid var(--emp-border);
    border-radius: var(--emp-radius-sm);
    background-color: #FFFFFF;
    color: var(--emp-dark);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.emp-form-control:focus {
    outline: none;
    border-color: var(--emp-accent);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.emp-password-wrapper {
    position: relative;
}

.emp-password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--emp-gray-muted);
    z-index: 10;
    font-size: 1rem;
}

.emp-btn-primary {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, var(--emp-primary) 0%, var(--emp-accent) 100%);
    color: #FFFFFF;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: var(--emp-radius-sm);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.emp-btn-primary:hover {
    background: linear-gradient(135deg, var(--emp-primary-hover) 0%, var(--emp-accent-hover) 100%);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.35);
    transform: translateY(-1px);
}

.emp-btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.emp-switch-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--emp-gray-light);
    font-size: 0.9rem;
    color: var(--emp-gray-muted);
}

.emp-switch-link a, .emp-switch-link span {
    color: var(--emp-accent);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.emp-switch-link a:hover, .emp-switch-link span:hover {
    text-decoration: underline;
}

/* Services Grid */
.emp-services-section {
    padding: 60px 0;
    background: #FFFFFF;
}

.emp-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: var(--emp-dark);
}

.emp-section-subtitle {
    text-align: center;
    color: var(--emp-gray-muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.emp-service-card {
    background: var(--emp-bg);
    border: 1px solid var(--emp-border);
    border-radius: var(--emp-radius);
    padding: 30px 24px;
    height: 100%;
    transition: all 0.3s ease;
}

.emp-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--emp-shadow);
    border-color: var(--emp-accent);
}

.emp-service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(30, 58, 138, 0.08);
    color: var(--emp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.emp-service-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--emp-dark);
}

/* Process Steps */
.emp-process-section {
    padding: 60px 0;
    background: var(--emp-bg);
}

.emp-process-card {
    background: #FFFFFF;
    border: 1px solid var(--emp-border);
    border-radius: var(--emp-radius);
    padding: 24px;
    text-align: center;
    height: 100%;
    position: relative;
}

.emp-process-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--emp-gray-light);
    color: var(--emp-gray-dark);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer Section */
.emp-footer {
    background: #0F172A;
    color: #94A3B8;
    padding: 60px 0 20px;
    margin-top: auto;
}

.emp-footer-title {
    color: #FFFFFF;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.emp-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.emp-footer-links li {
    margin-bottom: 10px;
}

.emp-footer-links a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.925rem;
    transition: color 0.2s ease;
}

.emp-footer-links a:hover {
    color: #38BDF8;
}

.emp-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .emp-hero-title {
        font-size: 2rem;
    }
    .emp-auth-card {
        padding: 20px;
    }
}

/* Employer account verification */
.verification-page {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 94px);
    padding: 96px 0 34px;
    background: #f3f6f9;
}

.verification-shell {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}

.verification-card {
    width: 100%;
    background: #fff;
    border: 1px solid #d8e1ea;
    border-top: 4px solid #0873bd;
    border-radius: 9px;
    padding: 24px 26px 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .07);
}

.verification-card .eyebrow { font-size: 11px; letter-spacing: .08em; }
.verification-card h1 { font-size: 25px; line-height: 1.25; margin: 6px 0 5px; }
.verification-card > p { font-size: 13px; line-height: 1.5; margin-bottom: 0; }
.verification-progress { display: flex; align-items: center; margin: 18px 0 20px; padding: 10px 12px; background: #f7f9fb; border: 1px solid #e5ebf1; border-radius: 7px; }
.verify-step { display: flex; align-items: center; gap: 7px; color: #64748b; font-size: 12px; font-weight: 600; white-space: nowrap; }
.verify-step .step-icon { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; display: grid; place-items: center; background: #edf2f7; font-size: 11px; }
.verify-step.complete { color: #078968; }
.verify-step.complete .step-icon { background: #ddf7ee; }
.verify-step.active { color: #075ea8; }
.verify-step.active .step-icon { background: #e2f1ff; }
.step-line { height: 1px; background: #dbe3eb; flex: 1; margin: 0 10px; }
.verify-panel { border: 1px solid #dfe7ef; border-radius: 7px; padding: 17px 18px; background: #fbfcfe; }
.verify-panel h3 { margin: 0 0 4px; font-size: 18px; }
.verify-panel p { color: #64748b; font-size: 13px; line-height: 1.45; margin-bottom: 14px; }
.verify-panel .form-label { margin-bottom: 5px; font-size: 12px; }
.verify-panel .form-control, .verify-panel .input-group-text { min-height: 40px; font-size: 13px; }
.verify-panel .btn { min-height: 40px; font-size: 13px; }
.otp-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.verification-alert { padding: 9px 11px; border-radius: 6px; margin-bottom: 12px; background: #eaf8f3; color: #08755a; font-size: 12px; }
.verification-alert.error { background: #fff0f0; color: #c23838; }
.verification-card button:disabled { opacity: .65; cursor: not-allowed; }
.verification-card > form:last-child { margin-top: 12px !important; }
.verification-card > form:last-child .btn { font-size: 12px; padding: 5px 10px; }

@media (max-width: 767px) {
    .verification-page {
        align-items: flex-start;
        min-height: calc(100vh - 96px);
        padding: 85px 0 28px;
    }
    .verification-shell { max-width: 100%; padding-left: 14px; padding-right: 14px; }
    .verification-card { padding: 20px 16px 14px; border-radius: 8px; }
    .verification-card h1 { font-size: 22px; }
    .verification-progress { margin: 15px 0 17px; padding: 9px; }
    .verify-step { font-size: 11px; gap: 5px; }
    .verify-step .step-icon { width: 24px; height: 24px; flex-basis: 24px; }
    .step-line { margin: 0 6px; }
    .verify-panel { padding: 15px 13px; }
}

@media (max-width: 420px) {
    .verify-step span:last-child { display: none; }
    .otp-row { grid-template-columns: 1fr; }
    .otp-row #sendMobileOtp { width: 100%; }
}
