
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --gold: #D4AF37;
            --dark-gold: #B8860B;
            --light-gold: #F7E7A0;
            --cream: #FFF8E7;
            --ivory: #FFFFF0;
            --champagne: #F7E7CE;
            --bronze: #CD7F32;
            --rich-black: #1C1C1C;
            --warm-black: #2C2C2C;
            --soft-shadow: rgba(212, 175, 55, 0.3);
            --deep-shadow: rgba(184, 134, 11, 0.4);
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--rich-black);
            background: linear-gradient(135deg, var(--ivory) 0%, var(--champagne) 50%, var(--cream) 100%);
            min-height: 100vh;
        }

        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(255, 248, 231, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--gold);
            box-shadow: 0 4px 30px var(--soft-shadow);
            padding: 15px 0;
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 2rem;
            font-weight: 900;
            background: linear-gradient(135deg, var(--gold), var(--bronze));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-links a {
            color: var(--rich-black);
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .nav-links a:hover {
            color: var(--gold);
            transform: translateY(-2px);
        }

        .nav-links a {
            color: var(--rich-black);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            position: relative;
            padding: 8px 16px;
            border-radius: 20px;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--gold), var(--bronze));
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-links a:hover::after {
            width: 80%;
        }

        .login-section {
            padding: 120px 0 80px;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .login-container {
            background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(247,231,206,0.9));
            backdrop-filter: blur(20px);
            border: 2px solid rgba(212, 175, 55, 0.3);
            padding: 3rem;
            border-radius: 25px;
            box-shadow: 0 25px 50px var(--soft-shadow);
            width: 100%;
            max-width: 450px;
            transition: all 0.4s ease;
        }

        .login-container:hover {
            transform: translateY(-5px);
            box-shadow: 0 35px 70px var(--deep-shadow);
        }

        .login-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .login-logo {
            font-size: 3rem;
            margin-bottom: 1rem;
            color: var(--gold);
        }

        .login-header h2 {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--rich-black);
            margin-bottom: 0.5rem;
        }

        .login-header p {
            color: var(--warm-black);
            font-size: 1rem;
        }

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

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--rich-black);
            font-weight: 600;
        }

        .form-group input {
            width: 100%;
            padding: 1rem;
            border: 2px solid rgba(212, 175, 55, 0.3);
            border-radius: 12px;
            font-size: 1rem;
            background: rgba(255,255,255,0.9);
            transition: all 0.3s ease;
        }

        .form-group input:focus {
            outline: none;
            border-color: var(--gold);
            box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
        }

        .login-btn {
            width: 100%;
            background: linear-gradient(135deg, var(--gold), var(--bronze));
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.4s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .login-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 30px var(--soft-shadow);
        }

        .dashboard-section {
            display: none;
            padding: 120px 0 80px;
            min-height: 100vh;
        }

        .dashboard-section.active {
            display: block;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .dashboard-header {
            background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(247,231,206,0.9));
            backdrop-filter: blur(20px);
            border: 2px solid rgba(212, 175, 55, 0.3);
            padding: 2rem;
            border-radius: 20px;
            margin-bottom: 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            box-shadow: 0 20px 40px var(--soft-shadow);
        }

        .user-info {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .user-avatar {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--gold), var(--bronze));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            box-shadow: 0 8px 25px var(--soft-shadow);
        }

        .user-details h3 {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--rich-black);
        }

        .user-details p {
            color: var(--warm-black);
            font-size: 0.9rem;
        }

        .logout-btn {
            background: linear-gradient(135deg, #dc3545, #c82333);
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.4s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .logout-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(220, 53, 69, 0.3);
        }

        .daily-summary {
            background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(247,231,206,0.9));
            backdrop-filter: blur(20px);
            border: 2px solid rgba(212, 175, 55, 0.3);
            padding: 2rem;
            border-radius: 20px;
            margin-bottom: 2rem;
            box-shadow: 0 20px 40px var(--soft-shadow);
        }

        .section-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--rich-black);
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .summary-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
        }

        .summary-card {
            background: rgba(255, 255, 255, 0.8);
            padding: 1.5rem;
            border-radius: 15px;
            text-align: center;
            border: 2px solid rgba(212, 175, 55, 0.2);
            transition: all 0.3s ease;
        }

        .summary-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px var(--soft-shadow);
        }

        .summary-number {
            font-size: 2rem;
            font-weight: 900;
            color: var(--gold);
            display: block;
        }

        .summary-label {
            font-size: 0.9rem;
            color: var(--warm-black);
            font-weight: 600;
        }

        .work-section {
            background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(247,231,206,0.9));
            backdrop-filter: blur(20px);
            border: 2px solid rgba(212, 175, 55, 0.3);
            padding: 2rem;
            border-radius: 20px;
            margin-bottom: 2rem;
            box-shadow: 0 20px 40px var(--soft-shadow);
        }

        .work-form {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .input-group {
            display: flex;
            flex-direction: column;
        }

        .input-group label {
            font-weight: 600;
            color: var(--rich-black);
            margin-bottom: 0.5rem;
        }

        .input-group input,
        .input-group textarea {
            padding: 0.8rem;
            border: 2px solid rgba(212, 175, 55, 0.3);
            border-radius: 10px;
            background: rgba(255,255,255,0.9);
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .input-group input:focus,
        .input-group textarea:focus {
            outline: none;
            border-color: var(--gold);
            box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
        }

        .save-work-btn {
            background: linear-gradient(135deg, var(--gold), var(--bronze));
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.4s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .save-work-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px var(--soft-shadow);
        }

        .candidates-section {
            background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(247,231,206,0.9));
            backdrop-filter: blur(20px);
            border: 2px solid rgba(212, 175, 55, 0.3);
            padding: 2rem;
            border-radius: 20px;
            margin-bottom: 2rem;
            box-shadow: 0 20px 40px var(--soft-shadow);
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .add-candidate-btn {
            background: linear-gradient(135deg, var(--gold), var(--bronze));
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.4s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .add-candidate-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px var(--soft-shadow);
        }

        .candidate-form {
            display: none;
            background: rgba(255, 255, 255, 0.9);
            padding: 1.5rem;
            border-radius: 15px;
            border: 2px solid rgba(212, 175, 55, 0.2);
            margin-bottom: 2rem;
        }

        .candidate-form.active {
            display: block;
        }

        .form-row {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .submit-candidate-btn {
            background: linear-gradient(135deg, #28a745, #218838);
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.4s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .submit-candidate-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(40, 167, 69, 0.3);
        }

        .cancel-btn {
            background: #6c757d;
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            margin-left: 1rem;
        }

        .cancel-btn:hover {
            background: #5a6268;
        }

        .table-container {
            overflow-x: auto;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 15px;
            border: 2px solid rgba(212, 175, 55, 0.2);
        }

        .data-table {
            width: 100%;
            border-collapse: collapse;
        }

        .data-table th {
            background: linear-gradient(135deg, var(--gold), var(--bronze));
            color: white;
            padding: 1rem;
            text-align: left;
            font-weight: 600;
        }

        .data-table td {
            padding: 1rem;
            border-bottom: 1px solid rgba(212, 175, 55, 0.1);
        }

        .data-table tr:hover {
            background: rgba(212, 175, 55, 0.05);
        }

        .status-badge {
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
        }

        .status-shortlisted {
            background: rgba(33, 136, 56, 0.1);
            color: #218838;
        }

        .status-contacted {
            background: rgba(255, 193, 7, 0.1);
            color: #e0a800;
        }

        .status-interviewed {
            background: rgba(23, 162, 184, 0.1);
            color: #17a2b8;
        }

        .status-hired {
            background: rgba(40, 167, 69, 0.1);
            color: #28a745;
        }

        .action-buttons {
            display: flex;
            gap: 0.5rem;
        }

        .btn-edit, .btn-delete {
            padding: 0.3rem 0.6rem;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.8rem;
            transition: all 0.3s ease;
        }

        .btn-edit {
            background: #17a2b8;
            color: white;
        }

        .btn-delete {
            background: #dc3545;
            color: white;
        }

        .btn-edit:hover, .btn-delete:hover {
            transform: translateY(-1px);
        }

        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 1rem 2rem;
            border-radius: 10px;
            color: white;
            font-weight: 600;
            z-index: 3000;
            transform: translateX(400px);
            transition: transform 0.3s ease;
            box-shadow: 0 8px 25px rgba(0,0,0,0.2);
        }

        .notification.show {
            transform: translateX(0);
        }

        .notification.success {
            background: linear-gradient(135deg, #28a745, #218838);
        }

        .notification.error {
            background: linear-gradient(135deg, #dc3545, #c82333);
        }

        .notification.info {
            background: linear-gradient(135deg, #17a2b8, #138496);
        }

        .hidden {
            display: none !important;
        }

        .empty-state {
            text-align: center;
            padding: 3rem 2rem;
            color: var(--warm-black);
        }

        .empty-state i {
            font-size: 4rem;
            color: var(--gold);
            margin-bottom: 1rem;
            opacity: 0.6;
        }

        .empty-state h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            color: var(--rich-black);
        }

        .empty-state p {
            opacity: 0.8;
        }

        @media (max-width: 768px) {
            .nav-container {
                padding: 0 1rem;
            }

            .nav-links {
                gap: 1rem;
                font-size: 14px;
            }

            .logo {
                font-size: 1.5rem;
            }

            .login-container {
                margin: 0 1rem;
                padding: 1.5rem;
            }

            .login-logo {
                font-size: 2rem;
            }

            .login-header h2 {
                font-size: 1.5rem;
            }

            .dashboard-header {
                flex-direction: column;
                text-align: center;
                gap: 15px;
            }

            .user-info {
                flex-direction: column;
                gap: 10px;
            }

            .work-form {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .form-row {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

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

            .summary-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }

            .summary-card {
                padding: 1rem;
            }

            .summary-number {
                font-size: 1.5rem;
            }

            .summary-label {
                font-size: 0.8rem;
            }

            .work-section,
            .candidates-section {
                padding: 1.5rem;
                margin-bottom: 1.5rem;
            }

            .candidate-form {
                padding: 1.5rem;
            }

            .data-table {
                font-size: 12px;
                display: block;
                overflow-x: auto;
                white-space: nowrap;
            }

            .data-table th,
            .data-table td {
                padding: 8px 6px;
                min-width: 80px;
            }

            .data-table th:first-child,
            .data-table td:first-child {
                min-width: 120px;
            }

            .action-buttons {
                flex-direction: column;
                gap: 5px;
            }

            .btn-edit, .btn-delete {
                padding: 6px 8px;
                font-size: 11px;
            }

            .input-group input,
            .input-group textarea,
            .input-group select {
                padding: 0.7rem;
                font-size: 14px;
            }

            .save-work-btn,
            .add-candidate-btn,
            .submit-candidate-btn {
                padding: 0.8rem 1.5rem;
                font-size: 14px;
            }

            .section-title {
                font-size: 1.3rem;
            }

            .empty-state {
                padding: 30px 15px;
            }

            .empty-state i {
                font-size: 2.5rem;
            }

            .empty-state h3 {
                font-size: 1.2rem;
            }
        }

        @media (max-width: 480px) {
            .nav-container {
                padding: 0 0.5rem;
            }

            .nav-links {
                gap: 0.5rem;
                font-size: 12px;
            }

            .logo {
                font-size: 1.3rem;
            }

            .container {
                padding: 0 0.5rem;
            }

            .login-container {
                padding: 1rem;
                margin: 0 0.5rem;
            }

            .login-logo {
                font-size: 1.8rem;
            }

            .login-header h2 {
                font-size: 1.3rem;
            }

            .dashboard-header {
                padding: 1rem;
            }

            .summary-grid {
                grid-template-columns: 1fr;
                gap: 0.8rem;
            }

            .summary-card {
                padding: 0.8rem;
            }

            .summary-number {
                font-size: 1.3rem;
            }

            .work-section,
            .candidates-section {
                padding: 1rem;
                margin-bottom: 1rem;
            }

            .candidate-form {
                padding: 1rem;
            }

            .data-table {
                font-size: 10px;
            }

            .data-table th,
            .data-table td {
                padding: 6px 4px;
                min-width: 70px;
            }

            .input-group input,
            .input-group textarea,
            .input-group select {
                padding: 0.6rem;
                font-size: 13px;
            }

            .save-work-btn,
            .add-candidate-btn,
            .submit-candidate-btn {
                padding: 0.7rem 1.2rem;
                font-size: 13px;
            }

            .section-title {
                font-size: 1.1rem;
            }

            .empty-state {
                padding: 20px 10px;
            }

            .empty-state i {
                font-size: 2rem;
            }

            .empty-state h3 {
                font-size: 1rem;
            }
        }

        @media (max-width: 768px) and (orientation: landscape) {
            .dashboard-header {
                flex-direction: row;
                text-align: left;
            }

            .summary-grid {
                grid-template-columns: repeat(4, 1fr);
            }

            .work-form {
                grid-template-columns: repeat(2, 1fr);
            }

            .form-row {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        .tasks-section {
            background: rgba(255,255,255,0.9);
            padding: 30px;
            border-radius: 20px;
            border: 1px solid var(--gold);
            box-shadow: 0 8px 25px var(--soft-shadow);
            margin-bottom: 40px;
        }

        .task-filters {
            display: flex;
            gap: 10px;
            margin-bottom: 25px;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 8px 20px;
            border: 2px solid var(--gold);
            background: transparent;
            color: var(--rich-black);
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .filter-btn.active,
        .filter-btn:hover {
            background: var(--gold);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px var(--soft-shadow);
        }

        .tasks-container {
            display: grid;
            gap: 20px;
        }

        .task-card {
            background: rgba(255,255,255,0.95);
            border: 1px solid rgba(212, 175, 55, 0.3);
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            position: relative;
        }

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

        .task-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 15px;
        }

        .task-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--rich-black);
            margin-bottom: 5px;
        }

        .task-client {
            font-size: 0.9rem;
            color: var(--gold);
            font-weight: 600;
        }

        .task-status {
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
        }

        .task-status.pending {
            background: rgba(255, 193, 7, 0.2);
            color: #856404;
            border: 1px solid rgba(255, 193, 7, 0.5);
        }

        .task-status.in-progress {
            background: rgba(54, 162, 235, 0.2);
            color: #1e5b99;
            border: 1px solid rgba(54, 162, 235, 0.5);
        }

        .task-status.completed {
            background: rgba(40, 167, 69, 0.2);
            color: #155724;
            border: 1px solid rgba(40, 167, 69, 0.5);
        }

        .task-description {
            color: var(--warm-black);
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .task-meta {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 15px;
            margin-bottom: 20px;
        }

        .task-meta-item {
            text-align: center;
        }

        .task-meta-label {
            font-size: 0.8rem;
            color: var(--warm-black);
            margin-bottom: 5px;
        }

        .task-meta-value {
            font-weight: 700;
            color: var(--rich-black);
        }

        .task-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .task-btn {
            padding: 8px 16px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 600;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .task-btn.start {
            background: var(--gold);
            color: white;
        }

        .task-btn.complete {
            background: #28a745;
            color: white;
        }

        .task-btn.update {
            background: #17a2b8;
            color: white;
        }

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

        .task-progress {
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid rgba(212, 175, 55, 0.3);
        }

        .progress-bar {
            background: rgba(212, 175, 55, 0.2);
            border-radius: 10px;
            height: 8px;
            overflow: hidden;
            margin-bottom: 5px;
        }

        .progress-fill {
            background: var(--gold);
            height: 100%;
            transition: width 0.3s ease;
        }

        .progress-text {
            font-size: 0.9rem;
            color: var(--warm-black);
            display: flex;
            justify-content: space-between;
        }

        .no-tasks-message {
            text-align: center;
            padding: 50px 20px;
            color: var(--warm-black);
        }

        .no-tasks-message i {
            font-size: 3rem;
            color: var(--gold);
            margin-bottom: 20px;
        }

        .no-tasks-message h3 {
            margin-bottom: 10px;
            color: var(--rich-black);
        }

        .task-notification {
            position: fixed;
            top: 20px;
            right: 20px;
            background: white;
            padding: 15px 20px;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
            border-left: 4px solid var(--gold);
            z-index: 10000;
            display: flex;
            align-items: center;
            gap: 10px;
            transform: translateX(400px);
            transition: transform 0.3s ease;
            max-width: 350px;
        }

        .task-notification.show {
            transform: translateX(0);
        }

        .task-notification.success {
            border-left-color: #28a745;
            color: #155724;
        }

        .task-notification.error {
            border-left-color: #dc3545;
            color: #721c24;
        }

        .task-notification.info {
            border-left-color: #17a2b8;
            color: #0c5460;
        }

        .task-card.overdue {
            border-left: 4px solid #dc3545;
            background: rgba(220, 53, 69, 0.05);
        }

        .text-danger {
            color: #dc3545 !important;
            font-weight: 700;
        }

        .priority-high {
            color: #dc3545;
        }

        .priority-medium {
            color: #ffc107;
        }

        .priority-low {
            color: #28a745;
        }

        .completed-badge {
            display: flex;
            align-items: center;
            gap: 5px;
            color: #28a745;
            font-weight: 600;
            font-size: 0.9rem;
        }

        @media (max-width: 768px) {
            .task-actions {
                flex-direction: column;
            }

            .task-btn {
                width: 100%;
                justify-content: center;
            }

            .task-meta {
                grid-template-columns: 1fr 1fr;
            }
        }

        .sync-status {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            transition: all 0.3s ease;
            margin-left: auto;
        }

        .sync-status.active {
            background: rgba(40, 167, 69, 0.1);
            border: 1px solid rgba(40, 167, 69, 0.3);
            color: #28a745;
        }

        .sync-status.active i {
            animation: spin 2s linear infinite;
        }

        .sync-status.paused {
            background: rgba(255, 193, 7, 0.1);
            border: 1px solid rgba(255, 193, 7, 0.3);
            color: #856404;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Enhanced Employee Portal Styles */
        .dashboard-features {
            display: grid;
            gap: 30px;
            margin-top: 30px;
        }

        /* Profile Management Section */
        .profile-section {
            background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(247,231,206,0.9));
            border: 1px solid rgba(212, 175, 55, 0.2);
            border-radius: 12px;
            padding: 25px;
            backdrop-filter: blur(10px);
        }

        .profile-section .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        }

        .edit-profile-btn {
            padding: 10px 20px;
            background: linear-gradient(135deg, var(--gold), var(--bronze));
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .edit-profile-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
        }

        .profile-card {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 30px;
        }

        .profile-info {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .profile-avatar {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--gold), var(--bronze));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 32px;
        }

        .profile-details h3 {
            margin: 0 0 5px 0;
            color: var(--rich-black);
            font-size: 20px;
            font-weight: 600;
        }

        .profile-details p {
            margin: 0 0 3px 0;
            color: #666;
            font-size: 14px;
        }

        .profile-stats {
            display: flex;
            gap: 30px;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            display: block;
            font-size: 24px;
            font-weight: 700;
            color: var(--gold);
        }

        .stat-label {
            font-size: 12px;
            color: #666;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Leave Management Section */
        .leave-section {
            background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(247,231,206,0.9));
            border: 1px solid rgba(212, 175, 55, 0.2);
            border-radius: 12px;
            padding: 25px;
            backdrop-filter: blur(10px);
        }

        .request-leave-btn {
            padding: 10px 20px;
            background: linear-gradient(135deg, #28a745, #20c997);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .request-leave-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
        }

        .leave-overview {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }

        .leave-balance-card {
            background: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .leave-balance-card h3 {
            margin: 0 0 15px 0;
            color: var(--rich-black);
            font-size: 16px;
            font-weight: 600;
        }

        .leave-balance-grid {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .leave-type {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px;
            background: rgba(212, 175, 55, 0.05);
            border-radius: 6px;
        }

        .leave-name {
            font-size: 14px;
            color: var(--rich-black);
            font-weight: 500;
        }

        .leave-count {
            font-size: 16px;
            font-weight: 700;
            color: var(--gold);
        }

        .recent-leaves h3 {
            margin: 0 0 15px 0;
            color: var(--rich-black);
            font-size: 16px;
            font-weight: 600;
        }

        .leaves-list {
            max-height: 200px;
            overflow-y: auto;
        }

        /* Performance Tracking Section */
        .performance-section {
            background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(247,231,206,0.9));
            border: 1px solid rgba(212, 175, 55, 0.2);
            border-radius: 12px;
            padding: 25px;
            backdrop-filter: blur(10px);
        }

        .performance-period select {
            padding: 8px 12px;
            border: 1px solid rgba(212, 175, 55, 0.3);
            border-radius: 6px;
            background: white;
            color: var(--rich-black);
            font-size: 14px;
            cursor: pointer;
        }

        .performance-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-top: 20px;
        }

        .performance-chart-container {
            background: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .performance-metrics {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }

        .metric-card {
            background: white;
            border-radius: 8px;
            padding: 15px;
            display: flex;
            align-items: center;
            gap: 15px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }

        .metric-card:hover {
            transform: translateY(-2px);
        }

        .metric-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, var(--gold), var(--bronze));
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
        }

        .metric-content h4 {
            margin: 0 0 5px 0;
            font-size: 12px;
            color: #666;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .metric-value {
            font-size: 20px;
            font-weight: 700;
            color: var(--gold);
        }

        /* Document Management Section */
        .documents-section {
            background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(247,231,206,0.9));
            border: 1px solid rgba(212, 175, 55, 0.2);
            border-radius: 12px;
            padding: 25px;
            backdrop-filter: blur(10px);
        }

        .upload-doc-btn {
            padding: 10px 20px;
            background: linear-gradient(135deg, #007bff, #0056b3);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .upload-doc-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
        }

        .documents-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 20px;
        }

        .document-category {
            background: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .document-category h3 {
            margin: 0 0 15px 0;
            color: var(--rich-black);
            font-size: 16px;
            font-weight: 600;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        }

        .document-list {
            max-height: 200px;
            overflow-y: auto;
        }

        /* Communication Hub Section */
        .communication-section {
            background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(247,231,206,0.9));
            border: 1px solid rgba(212, 175, 55, 0.2);
            border-radius: 12px;
            padding: 25px;
            backdrop-filter: blur(10px);
        }

        .new-message-btn {
            padding: 10px 20px;
            background: linear-gradient(135deg, #6f42c1, #5a32a3);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .new-message-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(111, 66, 193, 0.3);
        }

        .communication-grid {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 30px;
            margin-top: 20px;
        }

        .messages-panel, .announcements-panel {
            background: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .messages-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        }

        .messages-header h3 {
            margin: 0;
            color: var(--rich-black);
            font-size: 16px;
            font-weight: 600;
        }

        .message-filters {
            display: flex;
            gap: 10px;
        }

        .message-filters .filter-btn {
            padding: 5px 12px;
            border: 1px solid rgba(212, 175, 55, 0.3);
            border-radius: 4px;
            background: white;
            color: var(--rich-black);
            font-size: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .message-filters .filter-btn.active,
        .message-filters .filter-btn:hover {
            background: var(--gold);
            color: white;
            border-color: var(--gold);
        }

        .messages-list, .announcements-list {
            max-height: 300px;
            overflow-y: auto;
        }

        .announcements-panel h3 {
            margin: 0 0 15px 0;
            color: var(--rich-black);
            font-size: 16px;
            font-weight: 600;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        }

        /* Responsive Design for Enhanced Features */
        @media (max-width: 1200px) {
            .performance-grid {
                grid-template-columns: 1fr;
            }

            .communication-grid {
                grid-template-columns: 1fr;
            }

            .documents-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .profile-card {
                flex-direction: column;
                text-align: center;
            }

            .profile-stats {
                justify-content: center;
            }

            .leave-overview {
                grid-template-columns: 1fr;
            }

            .performance-metrics {
                grid-template-columns: 1fr;
            }

            .documents-grid {
                grid-template-columns: 1fr;
            }

            .profile-section .section-header,
            .leave-section .section-header,
            .performance-section .section-header,
            .documents-section .section-header,
            .communication-section .section-header {
                flex-direction: column;
                gap: 15px;
                align-items: flex-start;
            }
        }

        @media (max-width: 480px) {
            .dashboard-features {
                gap: 20px;
            }

            .profile-section,
            .leave-section,
            .performance-section,
            .documents-section,
            .communication-section {
                padding: 20px;
            }

            .profile-info {
                flex-direction: column;
                text-align: center;
            }

            .profile-stats {
                flex-direction: column;
                gap: 15px;
            }

            .performance-metrics {
                grid-template-columns: 1fr;
            }
        }

    