/*================================================
  Professional Gradient Theme - NetBees HR
  Colors: #127499, #2576b4, #367ace, white
  Optimized for Beta Template Structure
================================================*/

/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Gradient Colors */
    --gradient-primary: #127499;
    --gradient-mid: #2576b4;
    --gradient-light: #367ace;
    --gradient-white: #ffffff;
    
    /* Gradient Definitions */
    --gradient-main: linear-gradient(135deg, #127499 0%, #2576b4 50%, #367ace 100%);
    --gradient-button: linear-gradient(135deg, #127499 0%, #2576b4 100%);
    --gradient-button-hover: linear-gradient(135deg, #2576b4 0%, #367ace 100%);
    --gradient-subtle: linear-gradient(to right, rgba(18, 116, 153, 0.03), rgba(54, 122, 206, 0.03));
    
    /* Override Beta Template Variables */
    --main-menu-bg: transparent !important;
    --main-menu-dropdown-highlight-bg: #2576b4 !important;
    --main-menu-btn-bg: #e6f2f7 !important;
    --main-menu-btn-font-color: #127499 !important;
    --main-menu-btn-highlight-bg: #2576b4 !important;
    
    --site-headings-color: #127499 !important;
    --site-page-headings-color: #2576b4 !important;
    --site-icons-color: #2576b4 !important;
    --site-btn-bg: #e6f2f7 !important;
    --site-btn-highlight-bg: #2576b4 !important;
    --site-btn-font-color: #127499 !important;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(18, 116, 153, 0.08);
    --shadow-md: 0 4px 12px rgba(37, 118, 180, 0.15);
    --shadow-lg: 0 6px 20px rgba(54, 122, 206, 0.2);
}

/* ===== GLOBAL IMPROVEMENTS ===== */
* {
    transition-duration: 0.3s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== HEADER & NAVIGATION ===== */
.cd-main-header,
header.main-header {
    background: var(--gradient-main) !important;
    box-shadow: 0 2px 15px rgba(18, 116, 153, 0.15);
}

.cd-primary-nav,
.main-nav {
    background: transparent !important;
}

.cd-primary-nav a,
.main-nav a {
    color: white !important;
    font-weight: 500;
}

.cd-primary-nav a:hover,
.main-nav a:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-1px);
}

/* Logo Area */
.cd-logo img {
    filter: brightness(0) invert(1);
}

/* ===== BANNER SECTIONS ===== */
.banner-normal-section,
.banner-absolute-section {
    background: var(--gradient-main) !important;
    position: relative;
    overflow: hidden;
}

.banner-normal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(18, 116, 153, 0.9) 0%, rgba(54, 122, 206, 0.8) 100%);
    z-index: 1;
}

.banner-normal-section > .container {
    position: relative;
    z-index: 2;
}

.banner-normal-section-left-top h2,
.banner-normal-section-left-top p,
.banner-normal-section-left-bottom p {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.banner-normal-section-left-tag-item {
    background: rgba(255, 255, 255, 0.25) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.banner-normal-search {
    background: white !important;
    box-shadow: 0 8px 30px rgba(18, 116, 153, 0.2) !important;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

/* ===== BREADCRUMB ===== */
.breadcrumb-beta {
    background: var(--gradient-subtle) !important;
    border-bottom: 2px solid rgba(37, 118, 180, 0.1);
}

.breadcrumb-beta a {
    color: var(--gradient-mid);
}

.breadcrumb-beta a:hover {
    color: var(--gradient-light);
}

/* ===== ACCOUNT SECTION CONTAINER ===== */
.section-account-alpha-container {
    padding: 40px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, white 100%);
}

/* ===== ACCOUNT SIDEBAR NAVIGATION ===== */
.section-account-alpha-navigation {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid rgba(37, 118, 180, 0.1);
}

.section-account-alpha-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section-account-alpha-navigation ul li {
    position: relative;
}

.section-account-alpha-navigation ul li a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #4a5568;
    text-decoration: none;
    border-left: 4px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.section-account-alpha-navigation ul li a i {
    margin-right: 12px;
    font-size: 18px;
    width: 24px;
    text-align: center;
    color: var(--gradient-mid);
    transition: all 0.3s ease;
}

.section-account-alpha-navigation ul li a:hover,
.section-account-alpha-navigation ul li a.active {
    background: var(--gradient-button) !important;
    color: white !important;
    border-left-color: var(--gradient-light);
    transform: translateX(5px);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.section-account-alpha-navigation ul li a:hover i,
.section-account-alpha-navigation ul li a.active i {
    color: white !important;
    transform: scale(1.1);
}

/* Hover effect for sidebar */
.section-account-alpha-navigation ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-button);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section-account-alpha-navigation ul li a:hover::before,
.section-account-alpha-navigation ul li a.active::before {
    opacity: 1;
}

/* ===== TABLES ===== */
.section-account-alpha-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.section-account-alpha-table thead {
    background: var(--gradient-button) !important;
}

.section-account-alpha-table thead th {
    color: white !important;
    font-weight: 600;
    padding: 15px;
    border: none;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.section-account-alpha-table tbody tr {
    border-bottom: 1px solid rgba(37, 118, 180, 0.08);
    transition: all 0.2s ease;
}

.section-account-alpha-table tbody tr:hover {
    background: var(--gradient-subtle) !important;
    transform: translateX(3px);
}

.section-account-alpha-table tbody td {
    padding: 15px;
    vertical-align: middle;
}

.section-account-alpha-table .action-btn {
    color: var(--gradient-mid);
    font-size: 18px;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.section-account-alpha-table .action-btn:hover {
    color: white;
    background: var(--gradient-button);
    transform: scale(1.1);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--gradient-button) !important;
    border: none !important;
    color: white !important;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(18, 116, 153, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: var(--gradient-button-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(54, 122, 206, 0.4) !important;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: #e6f2f7 !important;
    border: 2px solid var(--gradient-mid) !important;
    color: var(--gradient-mid) !important;
    padding: 10px 28px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-secondary:hover {
    background: var(--gradient-button) !important;
    color: white !important;
    border-color: var(--gradient-mid) !important;
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-info {
    background: var(--gradient-button) !important;
    border: none !important;
}

.btn-sm {
    padding: 8px 20px !important;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 40px !important;
    font-size: 18px;
}

/* ===== CARDS & BOXES ===== */
.card,
.box-item {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(37, 118, 180, 0.08);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover,
.box-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: rgba(37, 118, 180, 0.2);
}

.card-header {
    background: var(--gradient-button) !important;
    color: white !important;
    padding: 16px 20px;
    font-weight: 600;
    border: none !important;
}

.card-body {
    padding: 24px;
}

.card-footer {
    background: rgba(18, 116, 153, 0.03);
    border-top: 1px solid rgba(37, 118, 180, 0.1);
    padding: 15px 20px;
}

/* ===== RESUME SECTIONS ===== */
.resume-item-box,
.resume-section {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid rgba(37, 118, 180, 0.08);
    transition: all 0.3s ease;
}

.resume-item-box:hover,
.resume-section:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.resume-item-box-heading,
.resume-section-title {
    background: var(--gradient-button) !important;
    color: white !important;
    padding: 16px 20px;
    font-weight: 600;
    font-size: 16px;
}

.resume-item-box-file {
    color: var(--gradient-mid);
    font-size: 60px;
    transition: all 0.3s ease;
}

.resume-item-box-file:hover {
    color: var(--gradient-light);
    transform: scale(1.05);
}

/* ===== JOB LISTINGS ===== */
.job-card,
.job-item {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    border-left: 5px solid var(--gradient-mid);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.job-card:hover,
.job-item:hover {
    border-left-color: var(--gradient-light);
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
}

.job-card-title,
.job-item-title {
    color: var(--gradient-primary);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 12px;
}

.job-badge,
.job-meta-item {
    background: var(--gradient-button) !important;
    color: white !important;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 8px;
}

/* ===== MODALS ===== */
.modal-beta .modal-header {
    background: var(--gradient-button) !important;
    color: white !important;
    padding: 20px 24px;
    border-bottom: none;
}

.modal-beta .modal-title {
    color: white !important;
    font-weight: 600;
}

.modal-beta .close {
    color: white !important;
    opacity: 0.9;
}

.modal-beta .close:hover {
    opacity: 1;
}

.modal-beta .modal-body {
    padding: 30px 24px;
}

.modal-beta .modal-footer {
    border-top: 1px solid rgba(37, 118, 180, 0.1);
    padding: 20px 24px;
}

/* ===== FORMS ===== */
.form-control {
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--gradient-mid);
    box-shadow: 0 0 0 3px rgba(37, 118, 180, 0.15);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--gradient-primary);
    margin-bottom: 8px;
}

.form-group {
    margin-bottom: 20px;
}

/* ===== PROGRESS BARS ===== */
.progress {
    height: 12px;
    border-radius: 6px;
    background: rgba(37, 118, 180, 0.1);
    overflow: hidden;
}

.progress-bar {
    background: var(--gradient-button) !important;
    transition: width 0.6s ease;
}

/* ===== BADGES ===== */
.badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
}

.badge-primary {
    background: var(--gradient-button) !important;
}

.badge-info {
    background: var(--gradient-button) !important;
}

.badge-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

/* ===== ALERTS ===== */
.alert-info {
    background: linear-gradient(to right, rgba(18, 116, 153, 0.1), rgba(54, 122, 206, 0.05));
    border-left: 4px solid var(--gradient-mid);
    color: var(--gradient-primary);
    border-radius: 8px;
    padding: 16px 20px;
}

.alert-success {
    border-left: 4px solid #28a745;
}

.alert-warning {
    border-left: 4px solid #ffc107;
}

.alert-danger {
    border-left: 4px solid #dc3545;
}

/* ===== PAGINATION ===== */
.pagination {
    gap: 8px;
}

.pagination .page-link {
    color: var(--gradient-mid);
    border: 2px solid rgba(37, 118, 180, 0.2);
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: var(--gradient-button);
    color: white;
    border-color: var(--gradient-mid);
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: var(--gradient-button) !important;
    border-color: var(--gradient-mid) !important;
    box-shadow: 0 4px 12px rgba(37, 118, 180, 0.3);
}

/* ===== DROPDOWNS ===== */
.dropdown-menu {
    border: 1px solid rgba(37, 118, 180, 0.15);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    padding: 8px 0;
}

.dropdown-item {
    padding: 10px 20px;
    transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--gradient-subtle) !important;
    color: var(--gradient-mid) !important;
}

.dropdown-item.active {
    background: var(--gradient-button) !important;
    color: white !important;
}

/* ===== LINKS ===== */
a {
    color: var(--gradient-mid);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--gradient-light);
}

/* ===== ICONS ===== */
.icon-box {
    width: 56px;
    height: 56px;
    background: var(--gradient-button);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(18, 116, 153, 0.25);
    transition: all 0.3s ease;
}

.icon-box:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(54, 122, 206, 0.4);
}

/* ===== FOOTER ===== */
footer,
.site-footer {
    background: rgb(18, 116, 153) !important;
    color: white !important;
    padding: 40px 0 20px;
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6,
footer p,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6,
.site-footer p {
    color: white !important;
}

footer a,
.site-footer a {
    color: white !important;
    opacity: 0.85;
    transition: all 0.3s ease;
}

footer a:hover,
.site-footer a:hover {
    color: white !important;
    opacity: 1;
    transform: translateX(5px);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-button);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-button-hover);
}

/* ===== LOADING SPINNER ===== */
.spinner-border {
    border-color: rgba(37, 118, 180, 0.2);
    border-right-color: var(--gradient-mid);
}

/* ===== MOBILE MENU ===== */
@media (max-width: 991px) {
    .mobile-menu,
    .cd-primary-nav {
        background: var(--gradient-main) !important;
    }
    
    .mobile-menu a,
    .cd-primary-nav a {
        color: white !important;
    }
    
    .section-account-alpha-navigation {
        margin-bottom: 30px;
    }
}

/* ===== RESPONSIVE IMPROVEMENTS ===== */
@media (max-width: 768px) {
    .section-account-alpha-container {
        padding: 20px 0;
    }
    
    .card,
    .box-item,
    .job-card {
        padding: 16px;
    }
    
    .btn-primary {
        padding: 10px 24px;
    }
}

/* ===== SMOOTH ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card,
.box-item,
.job-card {
    animation: fadeIn 0.5s ease-out;
}

/* ===== UTILITY CLASSES ===== */
.text-gradient {
    background: var(--gradient-button);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.bg-gradient {
    background: var(--gradient-main) !important;
    color: white !important;
}

.border-gradient {
    border: 2px solid var(--gradient-mid) !important;
}

.shadow-gradient {
    box-shadow: 0 8px 30px rgba(37, 118, 180, 0.2) !important;
}
