/* Custom Styles for WORKLINK - Blue Theme */
:root {
    --primary-color: #3b82f6;
    --secondary-color: #6b7280;
    --success-color: #2563eb;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #06b6d4;
    --dark-color: #1e3a8a;
    --light-color: #eff6ff;
    --emerald-50: #eff6ff;
    --emerald-100: #dbeafe;
    --emerald-200: #bfdbfe;
    --emerald-300: #93c5fd;
    --emerald-400: #60a5fa;
    --emerald-500: #3b82f6;
    --emerald-600: #2563eb;
    --emerald-700: #1d4ed8;
    --emerald-800: #1e40af;
    --emerald-900: #1e3a8a;
    --wl-primary: #1e3a8a;
    --wl-primary-dark: #1e3a8a;
    --wl-accent: #60a5fa;
    --wl-ink: #0f172a;
    --wl-soft: #f8fafc;
    --wl-card: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 76px;
}

body.wl-theme {
    background: #f3f5f7;
    color: var(--wl-ink);
}

/* Admin Layout Fixes */
body.admin-layout {
    padding-top: 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-image {
    text-align: center;
    opacity: 0.8;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}


/* Buttons */
.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Dashboard Styles */
.dashboard-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    min-height: 120px;
}

.dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.dashboard-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

.dashboard-card h4 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.dashboard-card small {
    font-size: 0.875rem;
    line-height: 1.2;
    word-wrap: break-word;
    white-space: normal;
}

.stat-card {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Form Styles */
.form-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 40px;
    margin: 20px 0;
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

/* Table Styles */
.table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.table thead th {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px;
    font-weight: 600;
}

.table tbody td {
    padding: 15px;
    vertical-align: middle;
    border: none;
    border-bottom: 1px solid #e9ecef;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-emerald {
    background: linear-gradient(135deg, #2f3f7f 0%, #1f2f64 100%);
    color: white;
}

.navbar-glass {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(23, 37, 84, 0.95) 100%);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
    backdrop-filter: blur(8px);
}

.navbar-glass .nav-link {
    font-weight: 600;
    letter-spacing: 0.2px;
}

.navbar-glass .btn-outline-light {
    color: #ffffff !important;
    border-color: #ffffff !important;
}

.navbar-glass .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    border-color: #ffffff !important;
}

.btn-auth-login {
    border: 1px solid #f5c542;
    color: #111827 !important;
    background-color: #f5c542;
}

.btn-auth-login:hover {
    background-color: #e0b234;
    color: #111827 !important;
    border-color: #e0b234;
}

.btn-auth-signup {
    background-color: #f5c542;
    border-color: #f5c542;
    color: #111827 !important;
}

.btn-auth-signup:hover {
    background-color: #e0b234;
    border-color: #e0b234;
    color: #111827 !important;
}

.navbar .btn-auth-login,
.navbar .btn-auth-signup {
    background-color: #f5c542 !important;
    border-color: #f5c542 !important;
    color: #111827 !important;
}

.text-accent {
    color: var(--wl-accent) !important;
}

.btn-accent {
    background: var(--wl-accent);
    border-color: var(--wl-accent);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(20, 184, 166, 0.3);
}

.btn-accent:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #111acb;
}

.contact-page .navbar .btn-outline-dark {
    color: #10109b;
    border-color: #260d8b;
}

.contact-page .navbar .btn-outline-dark:hover {
    background: #2f0bbf;
    color: #1f2f64;
}

/* Contact Page */
.contact-page {
    --wl-accent: #14b8a6;
    background: #f3f5f7;
    color: var(--wl-ink);
}

.contact-main {
    background: transparent;
    padding-top: 20px;
}

.contact-hero {
    padding: 10px 0 20px;
}

.contact-shell {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.contact-panel-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 16px;
}

.contact-hero h1 {
    color: var(--wl-primary);
}

.contact-hero .text-secondary {
    color: var(--secondary-color) !important;
}

.contact-form {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.btn-emerald {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.btn-emerald:hover {
    background: var(--emerald-700);
    border-color: var(--emerald-700);
    color: #ffffff;
}

.contact-info-card {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.contact-info-card .card-body {
    padding: 20px;
}

.contact-icon {
    color: var(--wl-accent);
}

.contact-icon-alt {
    color: var(--wl-primary);
}

.contact-icon-warn {
    color: #f97316;
}

.contact-accordion .accordion-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    margin-bottom: 12px;
    background: #ffffff;
}

.contact-accordion .accordion-button {
    font-weight: 600;
    background: #f8fafc;
    color: #1f2937;
}

.contact-accordion .accordion-button:not(.collapsed) {
    color: #ffffff;
    background: var(--wl-primary);
    box-shadow: none;
}

.contact-accordion .accordion-body {
    background: #ffffff;
    color: #4b5563;
}

.contact-page .text-secondary {
    color: var(--secondary-color) !important;
}

.contact-page .form-text {
    color: var(--secondary-color);
}

.contact-page .form-label {
    color: #374151;
}

/* -----------------------------
   Admin Panel Color Theme
   Centralized admin UI color design
   ----------------------------- */
.admin-layout {
    background: var(--wl-soft);
    color: var(--wl-ink);
}

.admin-layout .sidebar {
    background: linear-gradient(180deg, var(--wl-primary) 0%, var(--wl-primary-dark) 100%);
    color: #ffffff;
    width: 260px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    padding-top: 22px;
    border-right: 1px solid rgba(255,255,255,0.04);
    box-shadow: 0 6px 24px rgba(14, 30, 60, 0.18);
    z-index: 1030;
}

.admin-layout .sidebar .sidebar-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

/* Scroll nav links inside fixed sidebar; min-height:0 lets flex child shrink below content size */
.admin-layout .sidebar .sidebar-wrapper > ul.nav {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    width: 100%;
    flex-wrap: nowrap; /* Bootstrap .nav defaults to wrap; with column + height limit that creates extra columns */
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.admin-layout .sidebar .navbar-brand {
    color: #ffffff;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-layout .sidebar .navbar-brand .small {
    color: rgba(255,255,255,0.85);
    opacity: 0.9;
}

.admin-layout .sidebar .sidebar-wrapper > ul.nav > .nav-item {
    width: 100%;
    max-width: 100%;
}

.admin-layout .sidebar .nav-pills .nav-link,
.admin-layout .sidebar .nav-link {
    margin: 6px 12px !important;
    padding: 10px 16px !important;
    color: rgba(255,255,255,0.92) !important;
    border-radius: 10px;
    background: transparent !important;
    transition: background 0.16s ease, transform 0.12s ease;
}

.admin-layout .sidebar .nav-link:hover {
    background: rgba(255,255,255,0.06);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.admin-layout .sidebar .nav-link.active {
    background: linear-gradient(135deg, var(--wl-accent) 0%, var(--wl-primary-dark) 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.28) !important;
}

.admin-layout .sidebar .dropdown-toggle {
    color: #ffffff !important;
}

.admin-main-content {
    margin-left: 280px;
    padding: 2rem 2.5rem;
}

@media (max-width: 991px) {
    .admin-layout .sidebar { position: relative; width: 100%; height: auto; }
    .admin-main-content { margin-left: 0; padding: 1rem; }
}

/* Make dashboard welcome text fit color scheme */
.admin-main-content .welcome-section h1 { color: var(--wl-primary-dark); }


.contact-page .form-control,
.contact-page .form-select,
.contact-page textarea.form-control {
    background: #ffffff;
    color: #111827;
    border-color: #e5e7eb;
}

.contact-page .form-control::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.contact-page .form-control:focus {
    background: #ffffff;
    color: #111827;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.contact-page .card,
.contact-page .accordion-item,
.contact-page .accordion-button,
.contact-page .accordion-body {
    color: inherit;
}

@media (max-width: 991px) {
    .contact-shell {
        padding: 18px;
    }
}

/* Logo Image Styles */
.logo-img {
    vertical-align: middle;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Job Card Styles */
.job-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.job-title {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

.job-title:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.company-name {
    color: var(--secondary-color);
    font-weight: 500;
}

.job-meta {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* Featured Company Card Styles */
.featured-company-card {
    position: relative;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.2);
    border: 2px solid #ffc107 !important;
    background: linear-gradient(135deg, #fff 0%, #fffdf7 100%);
    transition: all 0.3s ease;
}

.featured-company-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.3);
}

/* Badge Styles */
.badge {
    font-size: 0.8rem;
    padding: 8px 12px;
    border-radius: 20px;
}

/* Sidebar */
.sidebar {
    background: linear-gradient(180deg, #3b0764 0%, #6d28d9 100%) !important;
    min-height: 100vh;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    z-index: 1000;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sidebar .nav-link {
    color: #e2e8f0 !important;
    padding: 15px 20px;
    margin: 2px 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    border: none;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.sidebar .nav-link:hover {
    color: white !important;
    background: rgba(168, 85, 247, 0.22) !important;
    transform: translateX(5px);
}

.sidebar .nav-link.active {
    color: white !important;
    background: #a855f7 !important;
    box-shadow: 0 2px 10px rgba(168, 85, 247, 0.35);
}

.sidebar .nav-link i {
    width: 20px;
    margin-right: 10px;
    text-align: center;
    transition: transform 0.2s ease;
}

.sidebar .nav-link:active {
    transform: translateX(2px);
}

.sidebar .nav-link:active i {
    transform: scale(0.92);
}

.sidebar .navbar-brand {
    color: white !important;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 1rem;
    display: block;
    padding: 15px 20px;
}

.sidebar .navbar-brand:hover {
    color: #e9d5ff !important;
}

/* Admin Layout Fixes */
body.admin-layout {
    padding-top: 0 !important;
    margin: 0;
    background: #f8f9fa;
}

.admin-main-content {
    min-height: 100vh;
    background: #f8f9fa;
    margin-left: 250px;
    padding: 20px;
    width: calc(100% - 250px);
}

/* Fix admin container structure */
.admin-layout .container-fluid {
    padding: 0;
    margin: 0;
    max-width: 100%;
}

/* Sidebar is a fixed .sidebar + .admin-main-content / .main-content — do not reset
   Bootstrap row gutters or col widths globally; that collapsed dashboard stat grids. */

/* Override button styles for admin */
.admin-layout .btn {
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 500;
}

.admin-layout .btn-sm {
    padding: 4px 8px;
    font-size: 0.875rem;
}

/* Admin page headers */
.admin-layout .border-bottom {
    border-bottom: 2px solid #dee2e6 !important;
    margin-bottom: 2rem !important;
}

.admin-layout h1.h2 {
    color: #212529;
    font-weight: 600;
    margin-bottom: 0;
}

/* Admin cards */
.admin-layout .dashboard-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.admin-layout .dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Admin tables */
.admin-layout .table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.admin-layout .table thead th {
    background: #495057;
    color: white;
    border: none;
    padding: 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.admin-layout .table tbody td {
    padding: 12px 15px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f3f4;
}

.admin-layout .table tbody tr:hover {
    background: #f8f9fa;
}

/* Admin form styling */
.admin-layout .form-control {
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 10px 12px;
    transition: all 0.3s ease;
}

.admin-layout .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

/* Admin alert styling */
.admin-layout .alert {
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}

.admin-layout .alert-success {
    background: #dbeafe;
    color: #1e3a8a;
    border-left-color: #2563eb;
}

.admin-layout .alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

.admin-layout .alert-warning {
    background: #fff3cd;
    color: #664d03;
    border-left-color: #ffc107;
}

.admin-layout .alert-info {
    background: #cff4fc;
    color: #055160;
    border-left-color: #0dcaf0;
}

/* Admin badges and labels */
.admin-layout .badge {
    font-size: 0.75rem;
    padding: 6px 10px;
    font-weight: 500;
}

/* Admin pagination */
.admin-layout .pagination {
    margin-bottom: 0;
}

.admin-layout .page-link {
    color: #3b82f6;
    border: 1px solid #dee2e6;
    padding: 8px 12px;
}

.admin-layout .page-link:hover {
    color: #1d4ed8;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.admin-layout .page-item.active .page-link {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

/* Admin dropdown menus */
.admin-layout .dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.admin-layout .dropdown-item {
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.admin-layout .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #3b82f6;
}

/* Admin modal improvements */
.admin-layout .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.admin-layout .modal-header {
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.admin-layout .modal-footer {
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

/* Employer Layout Fixes */
body.employer-layout {
    padding-top: 0 !important;
    margin: 0;
    background: #f8f9fa;
}

.employer-main-content {
    min-height: 100vh;
    background: #f8f9fa;
    margin-left: 250px;
    padding: 20px;
    width: calc(100% - 250px);
}

/* Fix employer container structure */
.employer-layout .container-fluid {
    padding: 0;
    margin: 0;
    max-width: 100%;
}

.employer-layout .row {
    margin: 0;
}

.employer-layout .col-md-3,
.employer-layout .col-lg-2 {
    padding: 0;
    width: 250px;
    flex: none;
}

.employer-layout .col-md-9,
.employer-layout .col-lg-10 {
    padding: 0;
    margin-left: 250px;
    width: calc(100% - 250px);
    flex: none;
}

/* Employer specific styling */
.employer-layout .btn {
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 500;
}

.employer-layout .btn-sm {
    padding: 4px 8px;
    font-size: 0.875rem;
}

/* Employer cards */
.employer-layout .dashboard-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.employer-layout .dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Employer form styling */
.employer-layout .form-control {
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 10px 12px;
    transition: all 0.3s ease;
}

.employer-layout .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

/* Employer alert styling */
.employer-layout .alert {
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}

.employer-layout .alert-success {
    background: #dbeafe;
    color: #1e3a8a;
    border-left-color: #2563eb;
}

.employer-layout .alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

.employer-layout .alert-warning {
    background: #fff3cd;
    color: #664d03;
    border-left-color: #ffc107;
}

.employer-layout .alert-info {
    background: #cff4fc;
    color: #055160;
    border-left-color: #0dcaf0;
}

/* Employee Layout Fixes */
body.employee-layout {
    padding-top: 0 !important;
    margin: 0;
    background: #f8f9fa;
}

.employee-main-content {
    min-height: 100vh;
    background: #f8f9fa;
    margin-left: 250px;
    padding: 20px;
    width: calc(100% - 250px);
}

/* Fix employee container structure */
.employee-layout .container-fluid {
    padding: 0;
    margin: 0;
    max-width: 100%;
}

.employee-layout .row {
    margin: 0;
}

.employee-layout .col-md-3,
.employee-layout .col-lg-2 {
    padding: 0;
    width: 250px;
    flex: none;
}

.employee-layout .col-md-9,
.employee-layout .col-lg-10 {
    padding: 0;
    margin-left: 250px;
    width: calc(100% - 250px);
    flex: none;
}

/* Employee specific styling */
.employee-layout .btn {
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 500;
}

.employee-layout .btn-sm {
    padding: 4px 8px;
    font-size: 0.875rem;
}

/* Employee cards */
.employee-layout .dashboard-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.employee-layout .dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Restore gutters for dashboard stats row */
.employee-layout .dashboard-stats {
    margin-left: calc(var(--bs-gutter-x) * -0.5);
    margin-right: calc(var(--bs-gutter-x) * -0.5);
}

.employee-layout .dashboard-stats > [class*="col-"] {
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    padding-right: calc(var(--bs-gutter-x) * 0.5);
}

.employee-layout .dashboard-title {
    color: var(--wl-ink);
    font-weight: 700;
    letter-spacing: -0.2px;
}

.employee-layout .dashboard-subtitle {
    color: #64748b;
}

.employee-layout .dashboard-stats .dashboard-card .card-body {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.employee-layout .stat-card {
    color: #ffffff;
    border-radius: 14px;
    overflow: hidden;
}

.employee-layout .stat-card small {
    color: rgba(255, 255, 255, 0.75);
}

.employee-layout .stat-card--emerald {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

.employee-layout .stat-card--blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.employee-layout .stat-card--amber {
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
}

.employee-layout .stat-card--sky {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

.employee-layout .dashboard-progress {
    height: 20px;
    background: #e2e8f0;
    border-radius: 999px;
}

.employee-layout .dashboard-progress .dashboard-progress-bar {
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
    font-weight: 600;
}

.employee-layout .summary-card {
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
}

.employee-layout .btn-outline-sky {
    border: 1px solid #0ea5e9;
    color: #0ea5e9;
    background: #ffffff;
}

.employee-layout .btn-outline-sky:hover {
    background: #0ea5e9;
    color: #ffffff;
}

.employee-layout .btn-outline-amber {
    border: 1px solid #f59e0b;
    color: #f59e0b;
    background: #ffffff;
}

.employee-layout .btn-outline-amber:hover {
    background: #f59e0b;
    color: #ffffff;
}

.employee-layout .btn-amber {
    background: #f59e0b;
    color: #ffffff;
    border: 1px solid #f59e0b;
}

.employee-layout .btn-amber:hover {
    background: #d97706;
    border-color: #d97706;
    color: #ffffff;
}

/* Employee form styling */
.employee-layout .form-control {
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 10px 12px;
    transition: all 0.3s ease;
}

.employee-layout .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

/* Employee alert styling */
.employee-layout .alert {
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}

.employee-layout .alert-success {
    background: #dbeafe;
    color: #1e3a8a;
    border-left-color: #2563eb;
}

.employee-layout .alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

.employee-layout .alert-warning {
    background: #fff3cd;
    color: #664d03;
    border-left-color: #ffc107;
}

.employee-layout .alert-info {
    background: #cff4fc;
    color: #055160;
    border-left-color: #0dcaf0;
}

/* Employee profile page styling */
.employee-layout .profile-page {
    color: #0f172a;
}

.employee-layout .profile-header {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.employee-layout .profile-title {
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #0f172a;
}

.employee-layout .btn-outline-emerald {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: #ffffff;
}

.employee-layout .btn-outline-emerald:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.employee-layout .btn-emerald {
    background: var(--primary-color);
    color: #ffffff;
    border: 1px solid var(--primary-color);
}

.employee-layout .btn-emerald:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.employee-layout .profile-form-card {
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.employee-layout .section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    border-left: 4px solid var(--primary-color);
    padding-left: 12px;
}

.employee-layout .profile-page .form-label {
    color: #374151;
    font-weight: 600;
}

.employee-layout .profile-page .form-control,
.employee-layout .profile-page .form-select {
    background: #ffffff;
}

.employee-layout .document-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.employee-layout .document-card:hover {
    border-color: var(--emerald-300);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.12);
}

.employee-layout .profile-info-alert {
    border-left-color: var(--info-color);
}

.employee-layout .profile-progress {
    height: 14px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.employee-layout .profile-progress .profile-progress-bar {
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
    font-weight: 600;
}

.employee-layout .profile-sidebar-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.employee-layout .profile-sidebar-card .card-header {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 600;
}

/* Main Content Area for All Layouts */
.main-content {
    min-height: 100vh;
    background: #f8f9fa;
    padding: 20px;
    margin-left: 250px;
}

/* Sidebar responsive adjustments */
@media (max-width: 768px) {
    .sidebar {
        position: relative;
        width: 100%;
        min-height: auto;
        margin-bottom: 20px;
    }
    
    .admin-main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .main-content {
        margin-left: 0;
    }
}

/* Text Visibility Fixes - Only apply to specific contexts */
.bg-light .text-white,
.bg-white .text-white,
.card .text-white {
    color: #212529 !important;
}

/* Hero section text should remain white */
.hero-section .text-white {
    color: #ffffff !important;
}

.hero-section .text-white-50 {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Fix navbar text visibility */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 1) !important;
}

/* Fix button text visibility */
.btn-outline-light {
    color: #212529 !important;
    border-color: #dee2e6 !important;
}

.btn-outline-light:hover {
    color: #212529 !important;
    background-color: #f8f9fa !important;
    border-color: #dee2e6 !important;
}

/* Fix table text visibility */
.table-light {
    color: #212529 !important;
}

.table-light th {
    color: #212529 !important;
}

.table-light td {
    color: #212529 !important;
}

/* Fix alert text visibility */
.alert-light {
    color: #212529 !important;
}

/* Panel-specific text visibility fixes */
.admin-layout .text-white-50,
.employer-layout .text-white-50,
.employee-layout .text-white-50 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.admin-layout .text-white,
.employer-layout .text-white,
.employee-layout .text-white {
    color: #ffffff !important;
}

/* Fix card text visibility in panels */
.admin-layout .card.bg-success .text-dark,
.employer-layout .card.bg-success .text-dark,
.employee-layout .card.bg-success .text-dark {
    color: rgba(255, 255, 255, 0.8) !important;
}

.admin-layout .card.bg-primary .text-dark,
.employer-layout .card.bg-primary .text-dark,
.employee-layout .card.bg-primary .text-dark {
    color: rgba(255, 255, 255, 0.8) !important;
}

.admin-layout .card.bg-warning .text-dark,
.employer-layout .card.bg-warning .text-dark,
.employee-layout .card.bg-warning .text-dark {
    color: #212529 !important;
}

/* Fix sidebar text visibility */
.sidebar .text-muted {
    color: rgba(233, 213, 255, 0.75) !important;
}

.sidebar .text-white-50 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.sidebar .text-white {
    color: #ffffff !important;
}

/* Fix dropdown text visibility */
.dropdown-menu-dark .dropdown-item {
    color: #ffffff !important;
}

.dropdown-menu-dark .dropdown-item:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Fix table text visibility in panels */
.admin-layout .table-light th,
.employer-layout .table-light th,
.employee-layout .table-light th {
    color: #212529 !important;
}

.admin-layout .table-light td,
.employer-layout .table-light td,
.employee-layout .table-light td {
    color: #212529 !important;
}

.admin-layout .table-dark th,
.employer-layout .table-dark th,
.employee-layout .table-dark th {
    color: #ffffff !important;
}

.admin-layout .table-dark td,
.employer-layout .table-dark td,
.employee-layout .table-dark td {
    color: #ffffff !important;
}

/* Fix form text visibility in panels */
.admin-layout .form-control.bg-dark,
.employer-layout .form-control.bg-dark,
.employee-layout .form-control.bg-dark {
    color: #ffffff !important;
}

.admin-layout .form-control.bg-light,
.employer-layout .form-control.bg-light,
.employee-layout .form-control.bg-light {
    color: #212529 !important;
}

/* Fix badge text visibility */
.badge.bg-success {
    color: #ffffff !important;
}

.badge.bg-primary {
    color: #ffffff !important;
}

.badge.bg-warning {
    color: #212529 !important;
}

.badge.bg-danger {
    color: #ffffff !important;
}

.badge.bg-info {
    color: #ffffff !important;
}

.badge.bg-secondary {
    color: #ffffff !important;
}

.badge.bg-light {
    color: #212529 !important;
}

.badge.bg-dark {
    color: #ffffff !important;
}

/* Additional admin responsive fixes */
@media (max-width: 992px) {
    .admin-layout .btn-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .admin-layout .btn-toolbar .btn-group {
        margin-bottom: 10px;
        margin-right: 0 !important;
    }
    
    .admin-layout .table-responsive {
        font-size: 0.875rem;
    }
    
    .employee-layout .btn-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .employee-layout .btn-toolbar .btn-group {
        margin-bottom: 10px;
        margin-right: 0 !important;
    }
}

/* Stats cards responsive */
@media (max-width: 576px) {
    .admin-layout .dashboard-card h4 {
        font-size: 1.5rem;
    }
    
    .admin-layout .dashboard-card .fa-2x {
        font-size: 1.5em;
    }
    
    .employee-layout .dashboard-card h4 {
        font-size: 1.5rem;
    }
    
    .employee-layout .dashboard-card .fa-2x {
        font-size: 1.5em;
    }
}

/* Employee responsive adjustments */
@media (max-width: 768px) {
    .employee-layout .col-md-9,
    .employee-layout .col-lg-10 {
        margin-left: 0;
        width: 100%;
    }
    
    .employee-main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .employer-layout .col-md-9,
    .employer-layout .col-lg-10 {
        margin-left: 0;
        width: 100%;
    }
    
    .employer-main-content {
        margin-left: 0;
        width: 100%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .form-container {
        padding: 20px;
        margin: 10px;
    }
    
    .btn {
        padding: 10px 20px;
        margin: 5px 0;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    margin: 20px 0;
}

/* File Upload */
.file-upload {
    position: relative;
    display: inline-block;
    cursor: pointer;
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.file-upload:hover {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* Progress Bar */
.progress {
    height: 8px;
    border-radius: 10px;
    background: #e9ecef;
}

.progress-bar {
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    border-radius: 15px 15px 0 0;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 15px 15px;
}

/* Employee Profile - compact colorful layout */
.employee-layout .profile-page.compact-profile {
    padding: 0;
    background: #f4f6fb;
    min-height: 100vh;
}

.employee-layout .profile-page.compact-profile .profile-header {
    padding: 12px 16px;
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.employee-layout .profile-page.compact-profile .profile-title {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.employee-layout .profile-page.compact-profile .btn-outline-emerald {
    border-color: #fff;
    color: #fff;
}

.employee-layout .profile-page.compact-profile .btn-outline-emerald:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.employee-layout .profile-page.compact-profile .profile-grid {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

.employee-layout .profile-page.compact-profile .form-container,
.employee-layout .profile-page.compact-profile .dashboard-card {
    border: 0;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
    background: #fff;
}

.employee-layout .profile-page.compact-profile .profile-form-card {
    border-right: 1px solid #e6e9f2;
}

.employee-layout .profile-page.compact-profile .profile-sidebar-card {
    border-left: 1px solid #e6e9f2;
}

.employee-layout .profile-page.compact-profile .section-title {
    margin: 0 0 8px 0;
    padding: 8px 10px;
    background: #eef2ff;
    color: #1f2937;
    border-left: 4px solid #6366f1;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.employee-layout .profile-page.compact-profile .form-label {
    margin-bottom: 4px;
    color: #374151;
    font-weight: 600;
}

.employee-layout .profile-page.compact-profile .form-control,
.employee-layout .profile-page.compact-profile .form-select {
    border-radius: 6px;
    border-color: #e5e7eb;
    box-shadow: none;
}

.employee-layout .profile-page.compact-profile .form-control:focus,
.employee-layout .profile-page.compact-profile .form-select:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 0.15rem rgba(99, 102, 241, 0.2);
}

.employee-layout .profile-page.compact-profile .mb-4,
.employee-layout .profile-page.compact-profile .mb-3,
.employee-layout .profile-page.compact-profile .mt-4 {
    margin: 0 !important;
}

.employee-layout .profile-page.compact-profile .alert {
    margin: 0;
    border-radius: 0;
}

.employee-layout .profile-page.compact-profile .document-card .card-body {
    padding: 12px;
}

.employee-layout .profile-page.compact-profile .profile-info-alert {
    background: #e0f2fe;
    color: #0f172a;
}

.employee-layout .profile-page.compact-profile .btn-emerald {
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    color: #fff;
}

.employee-layout .profile-page.compact-profile .btn-emerald:hover {
    opacity: 0.92;
}

.employee-layout .profile-page.compact-profile .profile-progress {
    height: 10px;
}

.employee-layout .profile-page.compact-profile .profile-progress-bar {
    background: linear-gradient(90deg, #f59e0b 0%, #ef4444 100%);
}

.employee-layout .profile-page.compact-profile .card-header {
    background: #111827;
    color: #fff;
    border-radius: 0;
}

.employee-layout .profile-page.compact-profile .card-body {
    padding: 12px;
}

@media (max-width: 991px) {
    .employee-layout .profile-page.compact-profile .profile-form-card {
        border-right: 0;
        border-bottom: 1px solid #e6e9f2;
    }

    .employee-layout .profile-page.compact-profile .profile-sidebar-card {
        border-left: 0;
    }
}



/* Dashboard Premium Container */
.dashboard-premium {
    background: linear-gradient(135deg, #f0f4f8 0%, #e0e7ff 50%, #faf5ff 100%);
    min-height: 100vh;
    padding: 30px;
}

/* Dashboard Hero Section */
.dashboard-hero {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    padding: 40px 45px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    margin-bottom: 30px;
}

.hero-background {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.welcome-section-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.greeting-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.dashboard-title-modern {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.2;
}

.highlight-name {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-subtitle-modern {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0;
}

.status-card-wrapper {
    display: flex;
}

.status-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 200px;
}

.status-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
}

.status-content .status-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.status-content .status-text {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.status-active-modern .status-icon-wrapper {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.status-pending-modern .status-icon-wrapper {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* Dashboard Header */
.dashboard-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 30px 35px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.welcome-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.welcome-content .dashboard-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
}

.dashboard-title .greeting {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 5px;
}

.dashboard-title .user-name {
    display: block;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-subtitle {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

.status-badge-wrapper {
    display: flex;
    align-items: center;
}

.status-badge {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.status-pending {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
}

.status-active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}

/* Premium Stat Cards */
.stat-card-premium {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-card-premium:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.stat-pattern {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.5;
}

.stat-card-violet {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-card-coral {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-card-teal {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-card-indigo {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.stat-content-premium {
    position: relative;
    z-index: 1;
    padding: 30px;
    color: #ffffff;
}

.stat-header-premium {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.stat-icon-premium {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.stat-number-premium {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    color: #ffffff;
}

.stat-label-premium {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.stat-footer-premium {
    margin-top: 15px;
}

.stat-badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.stat-card-overlay {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card-enhanced:hover .stat-card-overlay {
    opacity: 1;
}

.stat-card-enhanced .card-body {
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 140px;
}

.stat-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.stat-card-enhanced:hover .stat-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
}

.stat-icon {
    font-size: 2rem;
    color: #ffffff;
}

.stat-content {
    flex: 1;
    margin-left: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: #ffffff;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-subtext {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-top: 5px;
}

/* Enhanced Gradient Colors for Stat Cards */
.stat-card--emerald {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.stat-card--blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.stat-card--amber {
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.stat-card--sky {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

/* Quick Actions Modern */
.quick-actions-modern {
    margin-bottom: 30px;
}

.section-title-modern {
    margin-bottom: 25px;
}

.section-title-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.section-icon {
    color: #667eea;
}

.section-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

.action-card-modern {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 18px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.action-card-modern:hover::before {
    left: 100%;
}

.action-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.action-search:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.action-profile:hover {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #ffffff;
}

.action-applications:hover {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #ffffff;
}

.action-saved:hover {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #ffffff;
}

.action-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.action-search .action-card-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.action-profile .action-card-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #ffffff;
}

.action-applications .action-card-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #ffffff;
}

.action-saved .action-card-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #ffffff;
}

.action-card-content {
    flex: 1;
}

.action-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.action-card-desc {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    transition: color 0.3s ease;
}

.action-card-modern:hover .action-card-title,
.action-card-modern:hover .action-card-desc {
    color: #ffffff;
}

.action-card-arrow {
    color: #cbd5e1;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.action-card-modern:hover .action-card-arrow {
    color: #ffffff;
    transform: translateX(5px);
}

.quick-action-btn {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

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

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

.quick-action-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.action-primary:hover { border-color: #3b82f6; }
.action-secondary:hover { border-color: #10b981; }
.action-info:hover { border-color: #0ea5e9; }
.action-warning:hover { border-color: #f59e0b; }

.action-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.action-primary .action-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
}

.action-secondary .action-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}

.action-info .action-icon {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #ffffff;
}

.action-warning .action-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
}

.quick-action-btn:hover .action-icon {
    transform: scale(1.1) rotate(-5deg);
}

.action-content {
    flex: 1;
}

.action-title {
    display: block;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3px;
    font-size: 1rem;
}

.action-desc {
    display: block;
    color: #64748b;
    font-size: 0.8rem;
}

.action-arrow {
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.quick-action-btn:hover .action-arrow {
    color: #3b82f6;
    transform: translateX(5px);
}

/* Enhanced Card Headers */
.card-header-enhanced {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 2px solid #e2e8f0;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.card-header-enhanced h5 {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3px;
}

.card-header-enhanced .text-muted {
    font-size: 0.85rem;
    color: #64748b;
}

/* Profile Completion Card */
.profile-completion-card .card-body {
    padding: 30px;
}

.completion-progress-wrapper {
    margin-bottom: 25px;
}

.completion-percentage {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 15px;
}

.percentage-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.percentage-label {
    font-size: 1rem;
    color: #64748b;
    font-weight: 600;
}

.progress-bar-animated {
    animation: progress-animation 2s ease-out;
}

@keyframes progress-animation {
    from { width: 0%; }
}

.completion-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checklist-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.checklist-item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.checklist-item.completed {
    background: #ecfdf5;
}

.checklist-icon {
    margin-right: 12px;
    font-size: 1.25rem;
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.checklist-item.completed .checklist-icon {
    color: #10b981;
}

.checklist-item span {
    font-weight: 500;
    color: #475569;
}

.checklist-item.completed span {
    color: #047857;
}

/* Application Summary Card */
.application-summary-card .card-body {
    padding: 30px;
}

.summary-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.summary-stat-item {
    text-align: center;
    padding: 20px;
    border-radius: 16px;
    background: #f8fafc;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.summary-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.stat-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.25rem;
}

.stat-total {
    grid-column: span 3;
}

.stat-total .stat-icon-circle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.stat-pending .stat-icon-circle {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
}

.stat-reviewed .stat-icon-circle {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #ffffff;
}

.stat-accepted .stat-icon-circle {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}

.stat-rejected .stat-icon-circle {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
}

/* Recent Applications & Recommended Jobs */
.applications-list,
.recommended-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.application-item,
.job-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    border-radius: 12px;
    background: #f8fafc;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.application-item:hover,
.job-item:hover {
    background: #ffffff;
    border-color: #e2e8f0;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.application-content,
.job-content {
    flex: 1;
}

.application-title,
.job-title {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 1rem;
}

.application-meta,
.job-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.company-name,
.application-date,
.job-location {
    font-size: 0.85rem;
    color: #64748b;
    display: inline-flex;
    align-items: center;
}

.status-badge.status-pending {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.status-accepted {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.status-reviewed,
.status-badge.status-rejected {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.view-job-btn {
    transition: all 0.3s ease;
}

.view-job-btn:hover {
    transform: translateX(3px);
}

/* Profile Completion Alert */
.profile-completion-alert {
    border-radius: 16px;
    border: none;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.2);
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 25px;
}

.alert-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
}

.alert-content .alert-heading {
    color: #92400e;
    font-weight: 700;
}

.alert-content p {
    color: #78350f;
}

/* Info Cards Modern */
.info-card-modern {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.info-card-modern:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.info-card-header-modern {
    padding: 25px 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-card-title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-card-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
}

.icon-gradient-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.icon-gradient-teal {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.icon-gradient-orange {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.icon-gradient-pink {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.info-card-body-modern {
    padding: 30px;
}

.info-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3px;
}

.info-card-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.btn-modern {
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

.btn-outline-modern {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: #64748b;
}

.btn-outline-modern:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
}

.btn-gradient-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-gradient-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: #ffffff;
}

.btn-sm-modern {
    padding: 8px 14px;
    font-size: 0.875rem;
}

/* Progress Circle */
.progress-circle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.progress-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

.progress-ring-circle {
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 1s ease;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.progress-circle-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progress-percentage {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Checklist Modern */
.checklist-modern {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checklist-item-modern {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.checklist-item-modern:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.checklist-item-modern.completed {
    background: #ecfdf5;
}

.checklist-indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.checklist-item-modern.completed .checklist-indicator {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}

.checklist-text {
    font-weight: 500;
    color: #475569;
}

.checklist-item-modern.completed .checklist-text {
    color: #047857;
}

/* Summary Grid Modern */
.summary-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.summary-item-modern {
    background: #f8fafc;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.summary-item-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.summary-total {
    grid-column: span 3;
}

.summary-icon-modern {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.25rem;
    color: #ffffff;
}

.summary-total .summary-icon-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.summary-pending .summary-icon-modern {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.summary-reviewed .summary-icon-modern {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.summary-accepted .summary-icon-modern {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.summary-rejected .summary-icon-modern {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.summary-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 5px;
}

.summary-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Activity & Recommendations Lists */
.activity-list-modern,
.recommendations-list-modern {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item-modern,
.recommendation-item-modern {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.activity-item-modern:hover,
.recommendation-item-modern:hover {
    background: #ffffff;
    border-color: #e2e8f0;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.activity-icon-wrapper,
.recommendation-icon-wrapper {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.recommendation-icon-wrapper {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.activity-content-modern,
.recommendation-content-modern {
    flex: 1;
}

.activity-title,
.recommendation-title {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 1rem;
}

.activity-meta,
.recommendation-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.activity-company,
.activity-date,
.recommendation-company,
.recommendation-location {
    font-size: 0.85rem;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.status-badge-modern {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge-modern.status-pending {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
}

.status-badge-modern.status-accepted {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}

.status-badge-modern.status-reviewed,
.status-badge-modern.status-rejected {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: #ffffff;
}

/* Empty State Modern */
.empty-state-modern {
    text-align: center;
    padding: 50px 20px;
}

.empty-icon-modern {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #94a3b8;
}

.empty-text-modern {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

/* Alert Modern */
.alert-modern {
    border-radius: 18px;
    padding: 0;
    border: none;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
}

.alert-warning-modern {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.alert-content-modern {
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.alert-icon-modern {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alert-text-modern {
    flex: 1;
}

.alert-title-modern {
    color: #92400e;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.alert-message-modern {
    color: #78350f;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-premium {
        padding: 20px 15px;
    }

    .dashboard-hero {
        padding: 30px 25px;
    }

    .welcome-section-modern {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-title-modern {
        font-size: 1.75rem;
    }

    .stat-content-premium {
        padding: 20px;
    }

    .stat-number-premium {
        font-size: 2rem;
    }

    .summary-grid-modern {
        grid-template-columns: 1fr;
    }

    .summary-total {
        grid-column: span 1;
    }

    .activity-item-modern,
    .recommendation-item-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .alert-content-modern {
        flex-direction: column;
        text-align: center;
    }

    .info-card-header-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* ============================================
   BEAUTIFUL EMPLOYEE DASHBOARD UI DESIGN
   Modern, Vibrant & Elegant Design
   ============================================ */

/* Dashboard Beautiful Container */
.dashboard-beautiful {
    background: linear-gradient(135deg, #f0f4f8 0%, #e0e7ff 50%, #faf5ff 100%);
    min-height: 100vh;
}

/* Welcome Header Beautiful */
.dashboard-welcome-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 35px 40px;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.25);
    margin-bottom: 30px;
}

.welcome-content-beautiful {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.welcome-title-beautiful {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.2;
}

.name-highlight {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-subtitle-beautiful {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    margin: 0;
}

.status-card-beautiful {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-active-beautiful {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3) 0%, rgba(5, 150, 105, 0.3) 100%);
}

.status-pending-beautiful {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3) 0%, rgba(217, 119, 6, 0.3) 100%);
}

/* Stat Cards Beautiful */
.stat-card-beautiful {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-card-beautiful:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.stat-card-pattern {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.6;
}

.stat-card-gradient-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-card-gradient-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-card-gradient-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-card-gradient-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.stat-card-content-beautiful {
    position: relative;
    z-index: 1;
    padding: 30px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon-beautiful {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.stat-info-beautiful {
    flex: 1;
}

.stat-number-beautiful {
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    color: #ffffff;
}

.stat-label-beautiful {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.stat-badge-beautiful {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Card Beautiful */
.card-beautiful {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card-beautiful:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.card-header-beautiful {
    padding: 25px 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid #e2e8f0;
}

.card-title-beautiful {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5px;
}

.card-subtitle-beautiful {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.card-body-beautiful {
    padding: 25px 30px;
}

/* Quick Actions Beautiful */
.quick-actions-beautiful {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.quick-actions-beautiful .card-header-beautiful {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-actions-beautiful .card-title-beautiful,
.quick-actions-beautiful .card-subtitle-beautiful {
    color: #ffffff;
}

.action-btn-beautiful {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #ffffff;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

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

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

.action-btn-beautiful:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.action-btn-1:hover { border-color: #667eea; }
.action-btn-2:hover { border-color: #f093fb; }
.action-btn-3:hover { border-color: #4facfe; }
.action-btn-4:hover { border-color: #43e97b; }

.action-icon-wrapper {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.action-btn-1 .action-icon-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.action-btn-2 .action-icon-wrapper {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #ffffff;
}

.action-btn-3 .action-icon-wrapper {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #ffffff;
}

.action-btn-4 .action-icon-wrapper {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #ffffff;
}

.action-text-wrapper {
    flex: 1;
}

.action-title-beautiful {
    display: block;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3px;
    font-size: 1rem;
}

.action-desc-beautiful {
    display: block;
    color: #64748b;
    font-size: 0.8rem;
}

.action-arrow-beautiful {
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.action-btn-beautiful:hover .action-arrow-beautiful {
    color: #667eea;
    transform: translateX(5px);
}

/* Progress Beautiful */
.progress-wrapper-beautiful {
    margin-bottom: 25px;
}

.progress-percentage-beautiful {
    text-align: center;
    margin-bottom: 15px;
}

.percentage-number-beautiful {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.progress-bar-beautiful {
    height: 12px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill-beautiful {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 999px;
    transition: width 1s ease;
    animation: progress-animation 1.5s ease-out;
}

@keyframes progress-animation {
    from { width: 0%; }
}

/* Checklist Beautiful */
.checklist-beautiful {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checklist-item-beautiful {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.checklist-item-beautiful:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.checklist-item-beautiful.completed {
    background: #ecfdf5;
}

.checklist-item-beautiful i {
    color: #cbd5e1;
    font-size: 1.1rem;
}

.checklist-item-beautiful.completed i {
    color: #10b981;
}

.checklist-item-beautiful span {
    font-weight: 500;
    color: #475569;
}

.checklist-item-beautiful.completed span {
    color: #047857;
}

/* Summary Grid Beautiful */
.summary-grid-beautiful {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.summary-item-beautiful {
    text-align: center;
    padding: 20px;
    border-radius: 14px;
    background: #f8fafc;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.summary-item-beautiful:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.summary-total-beautiful {
    grid-column: span 3;
}

.summary-icon-beautiful {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.25rem;
    color: #ffffff;
}

.summary-total-beautiful .summary-icon-beautiful {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.summary-pending-beautiful .summary-icon-beautiful {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.summary-reviewed-beautiful .summary-icon-beautiful {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.summary-accepted-beautiful .summary-icon-beautiful {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.summary-rejected-beautiful .summary-icon-beautiful {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.summary-value-beautiful {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 5px;
}

.summary-label-beautiful {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* List Beautiful */
.list-beautiful {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.list-item-beautiful {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.list-item-beautiful:hover {
    background: #ffffff;
    border-color: #e2e8f0;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.list-icon-beautiful {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.list-content-beautiful {
    flex: 1;
}

.list-title-beautiful {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 1rem;
}

.list-meta-beautiful {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.list-meta-beautiful span {
    font-size: 0.85rem;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.badge-beautiful {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-pending {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
}

.badge-accepted {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}

.badge-reviewed,
.badge-rejected {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: #ffffff;
}

/* Buttons Beautiful */
.btn-beautiful {
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

.btn-outline-beautiful {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: #64748b;
}

.btn-outline-beautiful:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
}

.btn-gradient-beautiful {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-gradient-beautiful:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: #ffffff;
}

.btn-sm-beautiful {
    padding: 8px 14px;
    font-size: 0.875rem;
}

/* Empty State Beautiful */
.empty-state-beautiful {
    text-align: center;
    padding: 50px 20px;
}

.empty-state-beautiful i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 15px;
}

.empty-state-beautiful p {
    color: #64748b;
    margin-bottom: 20px;
}

/* Alert Beautiful */
.alert-beautiful {
    border-radius: 16px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: none;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
}

.alert-warning-beautiful {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.alert-icon-beautiful {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alert-content-beautiful {
    flex: 1;
}

.alert-title-beautiful {
    color: #92400e;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.alert-text-beautiful {
    color: #78350f;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-welcome-header {
        padding: 25px 20px;
    }

    .welcome-content-beautiful {
        flex-direction: column;
        align-items: flex-start;
    }

    .welcome-title-beautiful {
        font-size: 1.75rem;
    }

    .stat-card-content-beautiful {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .summary-grid-beautiful {
        grid-template-columns: 1fr;
    }

    .summary-total-beautiful {
        grid-column: span 1;
    }

    .list-item-beautiful {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .alert-beautiful {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   MODERN PROFILE PAGE UI DESIGN
   Beautiful, Clean & Professional Design
   ============================================ */

/* Modern Profile Page Container */
.employee-layout .profile-page.modern-profile {
    padding: 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f4f8 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.employee-layout .profile-page.modern-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    pointer-events: none;
    z-index: 0;
}

.employee-layout .profile-page.modern-profile::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Content Wrapper */
.employee-layout .profile-page.modern-profile > * {
    position: relative;
    z-index: 1;
}

/* Modern Profile Header */
.profile-header-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 100%;
    padding: 40px 50px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
    margin-bottom: 35px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: headerGradient 8s ease infinite;
}

@keyframes headerGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.profile-header-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.profile-header-modern::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.profile-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.profile-header-text {
    flex: 1;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.profile-badge:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.profile-title-modern {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-title-main {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.profile-title-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.btn-back-modern {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back-modern:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

/* Modern Alerts */
.alert-success-modern,
.alert-danger-modern {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 28px;
    border-radius: 16px;
    border: none;
    margin-bottom: 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.alert-success-modern::before,
.alert-danger-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.2) 100%);
}

.alert-success-modern {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.alert-danger-modern {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

.alert-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.alert-success-modern .alert-icon-wrapper {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}

.alert-danger-modern .alert-icon-wrapper {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
}

.alert-content-modern {
    flex: 1;
}

.alert-content-modern strong {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
}

/* Profile Grid */
.profile-grid-modern {
    --bs-gutter-x: 30px;
    --bs-gutter-y: 0;
}

/* Modern Form Container */
.form-container-modern {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    padding: 45px 50px;
    margin-bottom: 35px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-container-modern:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.profile-form-card-modern {
    border: none;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Section Headers */
.section-header-modern {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 16px;
    border-left: 5px solid;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.section-header-modern:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.section-header-modern:has(.section-icon-wrapper) {
    border-left-color: #667eea;
}

.section-header-modern:has(.education-icon) {
    border-left-color: #4facfe;
}

.section-header-modern:has(.skills-icon) {
    border-left-color: #f093fb;
}

.section-header-modern:has(.documents-icon) {
    border-left-color: #43e97b;
}

.section-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.section-header-modern:hover .section-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.section-icon-wrapper.education-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.section-icon-wrapper.skills-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.section-icon-wrapper.documents-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.section-header-text {
    flex: 1;
}

.section-title-modern {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.section-subtitle-modern {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

/* Form Fields */
.form-fields-modern {
    padding-top: 8px;
}

.form-label-modern {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-label-modern i {
    color: #667eea;
}

.required-star {
    color: #ef4444;
    margin-left: 4px;
}

.form-control-modern,
.form-select-modern {
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px 18px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #1e293b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Skills Dropdown Container Fix */
.form-fields-modern .col-md-6 {
    position: relative;
    min-width: 0;
    flex: 0 0 50%;
    max-width: 50%;
    width: 50%;
    box-sizing: border-box;
    padding-left: 12px;
    padding-right: 12px;
}

/* Ensure proper spacing between columns */
.form-fields-modern .row > .col-md-6:first-child {
    padding-left: 0;
    padding-right: 12px;
}

.form-fields-modern .row > .col-md-6:last-child {
    padding-right: 0;
    padding-left: 12px;
}

/* Prevent text overflow in select elements */
select.form-select-modern {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure dropdown options stay within border */
select.form-select-modern option {
    padding: 10px 15px;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* Skills dropdown options - extra constraints */
#skills.form-select-modern option {
    padding: 10px 12px;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Skills dropdown specific - ensure it stays within border */
#skills.form-select-modern {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    position: relative;
    z-index: 1;
    box-sizing: border-box !important;
    display: block !important;
}

/* Container for Skills dropdown - prevent overflow */
.form-fields-modern .col-md-6:first-child {
    position: relative;
    overflow: visible;
    z-index: 10;
}

/* Ensure dropdown list doesn't overflow parent */
.form-fields-modern .col-md-6:first-child select {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Prevent dropdown from breaking layout */
select.form-select-modern:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    z-index: 1000;
    position: relative;
}

/* Ensure parent container clips overflow */
.form-fields-modern .row {
    overflow: visible;
    position: relative;
}

/* Skills column container - ensure proper containment */
.form-fields-modern .col-md-6:first-child {
    overflow: visible;
    max-width: calc(50% - 12px);
    min-width: 0;
}

/* Ensure proper spacing between Skills and Experience Level */
.form-fields-modern .row > .col-md-6 {
    margin-bottom: 1rem;
    overflow: hidden;
}

/* Container constraints */
.form-fields-modern {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* ========== CUSTOM SKILLS DROPDOWN (opens BELOW, stays within border) ========== */
.skills-dropdown-wrapper {
    position: relative;
    overflow: visible;
    max-width: 100%;
}

.custom-skills-dropdown {
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.custom-skills-trigger {
    width: 100%;
    max-width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    box-sizing: border-box;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px 18px;
    font-size: 0.95rem;
    color: #1e293b;
    outline: none;
    appearance: none;
}

.custom-skills-trigger:hover {
    border-color: #cbd5e1;
}

.custom-skills-trigger:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.custom-skills-value {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.custom-skills-arrow {
    flex-shrink: 0;
    color: #64748b;
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}

.custom-skills-dropdown.open .custom-skills-arrow {
    transform: rotate(180deg);
}

/* Panel opens BELOW the trigger */
.custom-skills-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-top: 4px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    z-index: 1050;
    overflow: hidden;
    box-sizing: border-box;
}

.custom-skills-panel.open {
    display: block;
}

/* Scrollable list - stays within border, max height */
.custom-skills-options {
    max-height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 0;
    -webkit-overflow-scrolling: touch;
}

/* Ensure options text doesn't overflow horizontally */
.custom-skills-options .custom-skills-option {
    max-width: 100%;
    padding-right: 16px;
}

.custom-skills-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    box-sizing: border-box;
    color: #1e293b;
}

.custom-skills-option:hover {
    background: #f1f5f9;
}

.custom-skills-option.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.skills-dropdown-wrapper,
.custom-skills-dropdown,
.custom-skills-panel {
    max-width: 100%;
    box-sizing: border-box;
}

.custom-skills-panel {
    border-radius: 14px;
}

.skills-dropdown-wrapper input[type="hidden"][name="skills"] {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

.form-fields-modern .row {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Fix for long text in Skills dropdown */
#skills.form-select-modern {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: block;
    position: relative;
    z-index: 1;
}

/* Skills dropdown options - ensure they stay within border */
#skills.form-select-modern option {
    white-space: normal;
    word-break: break-word;
    padding: 10px 15px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* Selected option display fix */
#skills.form-select-modern:not([multiple]) {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Container wrapper for Skills to prevent overflow */
.form-fields-modern .col-md-6:first-child {
    position: relative;
    overflow: visible;
    z-index: 10;
    max-width: calc(50% - 12px);
}

/* Ensure Skills dropdown doesn't break layout */
.form-fields-modern .col-md-6:first-child select#skills {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Ensure Skills dropdown container doesn't overflow */
.form-fields-modern .col-md-6 {
    overflow: visible;
}

/* Specific fix for Skills field container - prevent overflow */
.form-fields-modern .col-md-6:first-child {
    overflow: visible;
    max-width: calc(50% - 6px);
    position: relative;
    z-index: 10;
}

/* Skills dropdown wrapper - ensure containment */
.form-fields-modern .col-md-6:first-child > * {
    max-width: 100%;
    box-sizing: border-box;
}

/* Prevent dropdown options from overflowing - use clip-path for better containment */
select.form-select-modern {
    clip-path: inset(0);
}

/* Skills specific containment - ensure selected text doesn't overflow */
#skills.form-select-modern {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    width: 100%;
}

/* Ensure the Skills dropdown container clips content */
.form-fields-modern .col-md-6:first-child {
    overflow: hidden;
    position: relative;
    max-width: calc(50% - 12px);
    min-width: 0;
}

/* Skills label and helper text also need constraints */
.form-fields-modern .col-md-6:first-child .form-label-modern,
.form-fields-modern .col-md-6:first-child .form-text-modern {
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
    box-sizing: border-box;
}

/* Ensure Skills dropdown and all its children stay within border */
.form-fields-modern .col-md-6:first-child label,
.form-fields-modern .col-md-6:first-child select,
.form-fields-modern .col-md-6:first-child div {
    max-width: 100%;
    box-sizing: border-box;
}

/* Additional constraint for Skills dropdown parent */
.form-fields-modern .row > .col-md-6:first-child {
    overflow-x: hidden;
    overflow-y: visible;
}

#skills.form-select-modern option {
    white-space: normal;
    word-break: break-word;
    padding: 8px 12px;
    max-width: 100%;
}

/* Ensure label doesn't cause overflow */
.form-label-modern {
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
}

/* Form text helper also needs constraints */
.form-text-modern {
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
}

.form-control-modern:hover,
.form-select-modern:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.form-control-modern:focus,
.form-select-modern:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15), 0 4px 15px rgba(102, 126, 234, 0.2);
    outline: none;
    transform: translateY(-1px);
}

.form-control-modern[readonly] {
    background: #f8fafc;
    cursor: not-allowed;
}

.form-text-modern {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 6px;
    display: flex;
    align-items: center;
}

.form-text-modern i {
    color: #667eea;
    margin-right: 6px;
}

/* File Upload */
.file-upload-modern {
    margin-top: 8px;
}

.current-photo-modern {
    margin-top: 16px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
}

.current-photo-label {
    display: block;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 12px;
    font-size: 0.875rem;
}

.photo-preview-modern {
    display: inline-block;
}

.photo-thumbnail-modern {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Document Cards */
.document-card-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 8px;
    position: relative;
}

.document-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.document-card-modern:hover::before {
    transform: scaleX(1);
}

.document-card-modern:hover {
    border-color: #667eea;
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.2);
    transform: translateY(-4px) scale(1.01);
}

.document-card-body-modern {
    padding: 24px;
    text-align: center;
}

.document-preview-img {
    max-width: 180px;
    max-height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 3px solid #e5e7eb;
}

.document-icon-large {
    font-size: 4rem;
    color: #94a3b8;
    margin-bottom: 16px;
    display: block;
}

.document-pdf-icon {
    color: #ef4444;
}

.document-title-modern {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.document-status-modern {
    display: block;
    color: #10b981;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 0.875rem;
}

.document-actions-modern {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-view-modern,
.btn-download-modern {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

.btn-view-modern:hover::before,
.btn-download-modern:hover::before {
    left: 100%;
}

.btn-view-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-view-modern:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: #ffffff;
}

.btn-download-modern {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-download-modern:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    color: #ffffff;
}

.document-empty-icon {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 12px;
    display: block;
}

.document-empty-text {
    color: #64748b;
    font-weight: 600;
    margin-bottom: 4px;
}

.document-empty-subtext {
    color: #94a3b8;
    font-size: 0.875rem;
    margin: 0;
}

/* Info Alert */
.alert-info-modern {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 14px;
    border-left: 4px solid #3b82f6;
    margin-bottom: 24px;
}

.alert-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.alert-info-text {
    flex: 1;
    color: #1e40af;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Submit Button */
.form-submit-modern {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f1f5f9;
}

.btn-submit-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 100%;
    color: #ffffff;
    border: none;
    padding: 18px 56px;
    border-radius: 16px;
    font-size: 1.15rem;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.35);
    position: relative;
    overflow: hidden;
}

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

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

.btn-submit-modern:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 45px rgba(102, 126, 234, 0.5);
    color: #ffffff;
    background-position: -100% 0;
}

.btn-submit-modern:active {
    transform: translateY(-2px) scale(1.02);
}

/* Sidebar Cards */
.sidebar-card-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.sidebar-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.sidebar-card-modern:hover::before {
    transform: scaleX(1);
}

.sidebar-card-modern:hover {
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.sidebar-card-header-modern {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 2px solid #f1f5f9;
}

.sidebar-card-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #ffffff;
    flex-shrink: 0;
}

.completion-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.tips-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.sidebar-card-title-modern {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.sidebar-card-body-modern {
    padding: 24px;
}

/* Completion Card */
.completion-percentage-modern {
    text-align: center;
    margin-bottom: 20px;
}

.percentage-number-modern {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
}

.percentage-label-modern {
    font-size: 1rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 8px;
    display: block;
}

.progress-modern {
    height: 18px;
    background: linear-gradient(135deg, #e5e7eb 0%, #cbd5e1 100%);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.progress-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-bar-modern {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 100%;
    border-radius: 999px;
    transition: width 1s ease;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.4);
    animation: progress-shine 2s infinite;
    position: relative;
    z-index: 1;
}

@keyframes progress-shine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.completion-description-modern {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-align: center;
}

.completion-checklist-modern {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.completion-item-modern {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.completion-item-modern:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #f8fafc 100%);
    transform: translateX(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.completion-item-modern.completed {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #10b981;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.completion-item-modern i {
    color: #cbd5e1;
    transition: color 0.3s ease;
}

.completion-item-modern.completed i {
    color: #10b981;
}

.completion-item-modern span {
    color: #64748b;
    font-weight: 500;
    margin-left: 8px;
}

.completion-item-modern.completed span {
    color: #047857;
}

/* Tips Card */
.tips-list-modern {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tip-item-modern {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fef3c7 100%);
    background-size: 200% 100%;
    border-radius: 14px;
    transition: all 0.3s ease;
    border: 2px solid rgba(245, 158, 11, 0.2);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.15);
    position: relative;
    overflow: hidden;
}

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

.tip-item-modern:hover::before {
    left: 100%;
}

.tip-item-modern:hover {
    transform: translateX(6px) scale(1.02);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
    border-color: rgba(245, 158, 11, 0.4);
}

.tip-icon {
    color: #f59e0b;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.tip-item-modern span {
    color: #92400e;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Additional Visual Enhancements */
.profile-grid-modern {
    position: relative;
    z-index: 1;
}

.profile-grid-modern > div {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Form Labels */
.form-label-modern {
    position: relative;
    transition: all 0.3s ease;
}

.form-label-modern:hover {
    color: #667eea;
}

.form-label-modern i {
    transition: all 0.3s ease;
    display: inline-block;
}

.form-label-modern:hover i {
    transform: scale(1.2) rotate(10deg);
    color: #764ba2;
}

/* Required Star Animation */
.required-star {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Photo Preview Enhancement */
.photo-thumbnail-modern {
    transition: all 0.3s ease;
}

.photo-thumbnail-modern:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Document Preview Image Enhancement */
.document-preview-img {
    transition: all 0.3s ease;
}

.document-preview-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Info Alert Enhancement */
.alert-info-modern {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.alert-info-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.alert-info-modern:hover::before {
    left: 100%;
}

.alert-info-modern:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

/* Completion Percentage Animation */
.percentage-number-modern {
    animation: countUp 1.5s ease-out;
    position: relative;
    display: inline-block;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Focus Visible Enhancement */
.form-control-modern:focus-visible,
.form-select-modern:focus-visible {
    outline: 3px solid rgba(102, 126, 234, 0.3);
    outline-offset: 2px;
}

/* Loading State for Submit Button */
.btn-submit-modern:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn-submit-modern:disabled::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

/* Sidebar Card Icon Enhancement */
.sidebar-card-icon {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sidebar-card-modern:hover .sidebar-card-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Back Button Enhancement */
.btn-back-modern {
    position: relative;
    overflow: hidden;
}

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

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

/* Section Title Enhancement */
.section-title-modern {
    position: relative;
    display: inline-block;
}

.section-title-modern::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.section-header-modern:hover .section-title-modern::after {
    width: 100%;
}

/* Form Field Group Animation */
.form-fields-modern .row {
    animation: fadeIn 0.5s ease-out;
}

.form-fields-modern .row:nth-child(1) { animation-delay: 0.1s; }
.form-fields-modern .row:nth-child(2) { animation-delay: 0.2s; }
.form-fields-modern .row:nth-child(3) { animation-delay: 0.3s; }
.form-fields-modern .row:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Enhancements */
@media (max-width: 991px) {
    .profile-header-modern {
        padding: 30px 25px;
    }

    .form-container-modern {
        padding: 30px 25px;
    }

    .section-header-modern {
        padding: 16px 20px;
    }

    .section-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .profile-title-main {
        font-size: 1.75rem;
    }

    .profile-title-sub {
        font-size: 0.9rem;
    }

    .form-container-modern {
        padding: 24px 20px;
    }

    .section-header-modern {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .section-icon-wrapper {
        margin: 0 auto;
    }

    /* Mobile fixes for Skills dropdown */
    .form-fields-modern .col-md-6 {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 1.5rem;
    }

    .form-fields-modern .col-md-6:first-child,
    .form-fields-modern .col-md-6:last-child {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
    }

    .skills-dropdown-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .custom-skills-dropdown,
    .custom-skills-trigger,
    .custom-skills-panel {
        width: 100%;
        max-width: 100%;
    }

    .custom-skills-panel {
        left: 0;
        right: 0;
        width: 100%;
    }

    select.form-select-modern {
        width: 100%;
        max-width: 100%;
    }
}

/* Global Footer Styles */
.home-footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #172554 100%);
    color: rgba(255, 255, 255, 0.92);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.home-footer-logo {
    height: 44px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.96);
    padding: 8px 14px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.home-footer-tagline {
    font-size: 0.95rem;
    color: rgba(226, 232, 240, 0.85);
    max-width: 22rem;
}

.home-footer-nav-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.55);
}

.home-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.home-footer-nav a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.home-footer-nav a:hover {
    color: #5eead4;
}

.home-footer-copy {
    font-size: 0.85rem;
    color: rgba(226, 232, 240, 0.75);
}

.home-footer-note {
    font-size: 0.75rem;
    color: rgba(148, 163, 184, 0.9);
}
