/* =========================================
   HOME PAGE HERO SEARCH BAR
========================================= */
.nk-hero-search-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 10px 10px 10px 25px;
    border-radius: 60px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.nk-hero-search-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nk-search-input-group {
    display: flex;
    align-items: center;
    flex: 1;
}

.nk-search-input-group.divider {
    border-left: 2px solid #f0f0f0;
    padding-left: 20px;
    margin-left: 10px;
}

.nk-search-input-group input {
    width: 100%;
    border: none;
    outline: none;
    padding: 18px 0;
    font-size: 16px;
    color: #333;
    background: transparent;
}

.nk-hero-search-btn {
    background: #0A66C2;
    color: #fff;
    border: none;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
    white-space: nowrap;
}

.nk-hero-search-btn:hover {
    background: #084d94;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 102, 194, 0.3);
}

/* Mobile Responsiveness */
@media(max-width: 768px) {
    .nk-hero-search-container {
        border-radius: 20px;
        padding: 20px;
    }
    .nk-hero-search-form {
        flex-direction: column;
        gap: 15px;
    }
    .nk-search-input-group.divider {
        border-left: none;
        border-top: 2px solid #f0f0f0;
        padding-left: 0;
        padding-top: 15px;
        margin-left: 0;
        width: 100%;
    }
    .nk-hero-search-btn {
        width: 100%;
        border-radius: 12px;
        padding: 18px;
    }
} 

/* =========================================
   HOME PAGE CATEGORY LINKS
========================================= */
.nk-category-links-container {
    max-width: 1140px;
    margin: -40px auto 40px auto; /* Pulls it slightly up over the hero image */
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.nk-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.nk-category-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nk-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border-color: #0A66C2;
}

.nk-category-icon {
    font-size: 36px;
    margin-bottom: 15px;
    line-height: 1;
}

.nk-category-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Mobile Responsiveness */
@media(max-width: 992px) {
    .nk-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 480px) {
    .nk-category-links-container {
        margin-top: 20px; /* Remove negative margin on very small screens */
    }
    .nk-category-grid {
        grid-template-columns: 1fr;
    }
} 
/* =========================================
   HOME PAGE ECOSYSTEM TEASER (DUAL PATH)
========================================= */
.nk-ecosystem-container {
    max-width: 1140px;
    margin: 60px auto;
    padding: 0 20px;
}

.nk-ecosystem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.nk-ecosystem-card {
    padding: 50px 45px;
    border-radius: 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 380px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nk-ecosystem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Gradients for distinction */
.candidate-card {
    background: linear-gradient(135deg, #0A66C2 0%, #004182 100%);
}

.employer-card {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

/* Typography inside the cards */
.nk-eco-content {
    position: relative;
    z-index: 2;
}

.nk-eco-content h3 {
    font-size: 14px !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    opacity: 0.9;
    font-weight: 700;
    color: #fff !important;
}

.nk-eco-content h2 {
    font-size: 32px !important;
    font-weight: 700 !important;
    margin-bottom: 20px;
    line-height: 1.3 !important;
    color: #fff !important;
}

.nk-eco-content p {
    font-size: 16px !important;
    margin-bottom: 35px;
    opacity: 0.9;
    line-height: 1.6 !important;
    color: #fff !important;
    max-width: 90%;
}

/* The White Action Buttons */
.nk-btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff !important;
    padding: 16px 32px !important;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    transition: 0.3s ease;
}

/* Match button text to the card's theme color */
.candidate-btn { color: #0A66C2 !important; }
.employer-btn { color: #10b981 !important; }

.nk-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    background: #f8f9fa !important;
}

/* Mobile Responsiveness */
@media(max-width: 992px) {
    .nk-ecosystem-card {
        padding: 40px 30px;
        min-height: 320px;
    }
    .nk-eco-content h2 {
        font-size: 28px !important;
    }
}

@media(max-width: 768px) {
    .nk-ecosystem-grid {
        grid-template-columns: 1fr;
    }
}  
/* Custom Auth Form Styles */
.nk-professional-form {
    margin-top: 25px;
}
.nk-professional-form .nk-form-group {
    margin-bottom: 20px;
    text-align: left;
}
.nk-professional-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}
.nk-professional-form input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    color: #111;
    background: #f9fafb;
    transition: all 0.3s ease;
}
.nk-professional-form input:focus {
    border-color: #0A66C2;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.1);
} 
/* Smart Header Auth Menu */
.nk-smart-auth-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}
.nk-header-dash-btn, .nk-header-login-btn {
    font-weight: 600;
    color: #333;
    text-decoration: none;
}
.nk-header-logout-btn {
    font-weight: 600;
    color: #ef4444;
    text-decoration: none;
}  
/* =========================================
   SMART HEADER AUTH MENU (DROPDOWN)
========================================= */
.nk-smart-auth-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Logged Out Buttons */
.nk-header-login-btn {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    transition: color 0.3s ease;
}
.nk-header-login-btn:hover {
    color: #0A66C2;
}

/* Logged In Dropdown Container */
.nk-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.nk-account-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    padding: 10px 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nk-dropdown-wrapper:hover .nk-account-toggle {
    color: #0A66C2;
}

/* The Hidden Dropdown Menu */
.nk-auth-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 999;
    border: 1px solid #f3f4f6;
}

/* Reveal on Hover */
.nk-dropdown-wrapper:hover .nk-auth-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Links */
.nk-auth-dropdown a {
    padding: 12px 20px;
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s ease, color 0.2s ease;
}

.nk-auth-dropdown a:hover {
    background: #f9fafb;
    color: #0A66C2;
}

.nk-auth-dropdown a.nk-logout-text {
    color: #ef4444;
    border-bottom: none; /* Last item doesn't need a border */
}

.nk-auth-dropdown a.nk-logout-text:hover {
    background: #fef2f2;
} 
/* =========================================
   MASTER SYMMETRICAL DASHBOARD LAYOUT GRID
========================================= */
.nk-master-dashboard-layout {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.nk-layout-sidebar-pane {
    width: 280px;
    flex-shrink: 0;
}

.nk-layout-content-pane {
    flex: 1;
    min-width: 0; /* Prevents flex box container blowouts */
}

/* RESPONSIVE RESPONSIVENESS OVERRIDES */
@media (max-width: 992px) {
    .nk-master-dashboard-layout {
        flex-direction: column;
        gap: 20px;
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .nk-layout-sidebar-pane {
        width: 100%;
    }
    
    .nk-layout-content-pane {
        width: 100%;
    }
}