/* --- Dashboard Card/Grid Styles (copied from dashboard.html for pixel-perfect match) --- */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}
.card {
    background: #fff;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
    transition: box-shadow 0.2s, transform 0.2s;
    border: none;
    position: relative;
}
.card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 16px 48px rgba(102,126,234,0.18);
}
.card h3 {
    color: #333;
    margin-bottom: 16px;
    font-size: 1.25rem;
    font-weight: 700;
}
.card p {
    color: #666;
    margin-bottom: 22px;
    font-size: 1rem;
}
.card-btn {
    background: #667eea;
    color: #fff;
    border: none;
    padding: 14px 0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    box-shadow: 0 2px 8px rgba(102,126,234,0.08);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card-btn:hover {
    background: #5a6fd8;
    box-shadow: 0 6px 18px rgba(102,126,234,0.18);
    transform: translateY(-2px) scale(1.01);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}
.stat-card {
    background: linear-gradient(135deg, #e3f0ff 0%, #fff 100%);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(102,126,234,0.10);
    transition: box-shadow 0.2s, transform 0.2s;
    color: #222;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 160px;
    margin-bottom: 0;
}
.stat-card:hover {
    box-shadow: 0 12px 32px rgba(102,126,234,0.18);
    transform: translateY(-2px) scale(1.01);
}
.stat-icon {
    font-size: 2.3rem;
    margin-bottom: 12px;
}
.stat-number {
    font-size: 2.3rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.stat-label {
    color: #888;
    font-size: 1rem;
    font-weight: 500;
}
/* Header and logout button tweaks for pixel-perfect match */
.header {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 4px 24px rgba(31,194,255,0.10);
    margin-bottom: 32px;
    border-radius: 0 0 18px 18px;
}
.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.7rem;
    font-weight: 700;
    color: #667eea;
    letter-spacing: 1px;
}
.user-info {
    display: flex;
    align-items: center;
    gap: 24px;
}
.user-details {
    text-align: right;
}
.user-name {
    font-weight: 600;
    color: #222;
    font-size: 1.05rem;
}
.user-role {
    font-size: 0.95rem;
    color: #888;
    margin-top: 2px;
}
.logout-btn {
    background: #667eea;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(102,126,234,0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.logout-btn:hover {
    background: #5a6fd8;
    color: #fff;
    box-shadow: 0 4px 16px rgba(102,126,234,0.15);
}
/* --- Employee Dashboard Page Styles --- */
body.employee-dashboard {
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    min-height: 100vh;
    color: #333;
}
.container.dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.welcome-section {
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
}
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.stat-card, .action-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 18px;
    padding: 32px 24px 24px 24px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 160px;
    margin-bottom: 0;
}
.stat-card:hover, .action-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 16px 48px rgba(102,126,234,0.18);
}
.stat-icon {
    font-size: 2.7rem;
    margin-bottom: 12px;
}
.stat-number {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.stat-label {
    color: #e3f0ff;
    font-size: 1.05rem;
    opacity: 0.97;
    font-weight: 500;
}
.action-card h3 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 1.25rem;
    font-weight: 700;
}
.action-card p {
    color: #e3f0ff;
    margin-bottom: 22px;
    font-size: 1rem;
}
.card-btn {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 13px 0;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    width: 100%;
    margin-top: auto;
    font-size: 1.08rem;
    box-shadow: 0 2px 8px rgba(102,126,234,0.08);
    letter-spacing: 0.01em;
}
.card-btn:hover {
    background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 6px 18px rgba(102,126,234,0.13);
}
.upcoming-shifts {
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
    margin-bottom: 30px;
}
.upcoming-shifts h2 {
    color: #333;
    margin-bottom: 20px;
}
.shift-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 15px;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    background: #fff;
}
.shift-item:hover {
    background: #e3f0ff;
    border-color: #667eea;
}
.shift-date {
    font-weight: 600;
    color: #333;
}
.shift-time {
    color: #7f8c8d;
}
.shift-status {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}
.status-confirmed {
    background: #d4edda;
    color: #155724;
}
.status-pending {
    background: #ffc107;
    color: #333;
}
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    .welcome-section h1 {
        font-size: 2rem;
    }
    .employee-actions {
        grid-template-columns: 1fr;
    }
}
.container.dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.welcome-section {
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
}
.welcome-section h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 2.5rem;
}
.welcome-section p {
    color: #7f8c8d;
    font-size: 1.1rem;
}
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
    transition: transform 0.3s ease;
    color: #fff;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102,126,234,0.15);
}
.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 5px;
}
.stat-label {
    color: #e3f0ff;
    font-size: 0.9rem;
}
.employee-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}
.action-card {
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
    transition: all 0.3s ease;
}
.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102,126,234,0.15);
}
.action-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3rem;
}
.action-card p {
    color: #7f8c8d;
    margin-bottom: 20px;
    line-height: 1.6;
}
.card-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}
.card-btn:hover {
    background: #764ba2;
    transform: translateY(-2px);
}
.upcoming-shifts {
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
    margin-bottom: 30px;
}
.upcoming-shifts h2 {
    color: #333;
    margin-bottom: 20px;
}
.shift-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    background: #fff;
}
.shift-item:hover {
    background: #e3f0ff;
    border-color: #667eea;
}
.shift-date {
    font-weight: 600;
    color: #333;
}
.shift-time {
    color: #7f8c8d;
}
.shift-status {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}
.status-confirmed {
    background: #d4edda;
    color: #155724;
}
.status-pending {
    background: #ffc107;
    color: #333;
}
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    .welcome-section h1 {
        font-size: 2rem;
    }
    .employee-actions {
        grid-template-columns: 1fr;
    }
}
/* --- Employee Profile Page Styles --- */
body.employee-profile {
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    min-height: 100vh;
    color: #333;
}
.container.profile {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
.profile-card {
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
    overflow: hidden;
    margin-bottom: 30px;
}
.profile-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 40px 30px;
    text-align: center;
    position: relative;
}
.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
}
.profile-name {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.profile-email {
    opacity: 0.9;
    font-size: 1.1rem;
}
.profile-body {
    padding: 30px;
}
.section-title {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #e1e8ed;
    padding-bottom: 10px;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.info-item {
    background: #f6f8fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}
.info-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.info-value {
    color: #555;
    font-size: 1.1rem;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 12px rgba(102,126,234,0.10);
    transition: all 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102,126,234,0.15);
}
.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.stat-label {
    opacity: 0.9;
    font-size: 0.9rem;
}
.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}
.action-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}
.btn-primary:hover {
    background: #764ba2;
    transform: translateY(-2px);
}
.btn-secondary {
    background: #95a5a6;
    color: #fff;
}
.btn-secondary:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}
.loading {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
}
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        order: -1;
    }
    .profile-header {
        padding: 30px 20px;
    }
    .profile-body {
        padding: 20px;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    .action-buttons {
        flex-direction: column;
    }
}
/* --- Employee Shifts Page Styles --- */
body.employee-shifts {
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    min-height: 100vh;
    color: #333;
}
.calendar-container {
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
    margin-bottom: 30px;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.calendar-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}
.nav-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
.nav-btn:hover {
    background: #764ba2;
}
.current-month, .current-period {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #ddd;
    border-radius: 8px;
    overflow: hidden;
}
.calendar-day-header {
    background: #667eea;
    color: #fff;
    padding: 15px;
    text-align: center;
    font-weight: 600;
}
.calendar-day {
    background: #fff;
    padding: 15px;
    min-height: 100px;
    border: 1px solid #eee;
    position: relative;
}
.calendar-day.other-month {
    background: #f6f8fa;
    color: #bbb;
}
.calendar-day.today {
    background: #e3f2fd;
}
.day-number {
    font-weight: 600;
    margin-bottom: 5px;
}
.shift-indicator {
    background: #667eea;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-bottom: 2px;
    display: block;
}
.shift-indicator.morning {
    background: #f39c12;
}
.shift-indicator.afternoon {
    background: #27ae60;
}
.shift-indicator.evening {
    background: #9b59b6;
}
.shift-indicator.night {
    background: #34495e;
}
.two-week-day {
    min-height: 120px;
    padding: 10px;
}
.two-week-day .day-number {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 2px;
}
.two-week-day .day-name {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 8px;
}
.shift-detail {
    background: #f6f8fa;
    border-radius: 4px;
    padding: 4px 6px;
    margin-bottom: 4px;
    font-size: 0.75rem;
}
.shift-detail.morning {
    background: #fff3cd;
    border-left: 3px solid #ffc107;
}
.shift-detail.afternoon {
    background: #d1ecf1;
    border-left: 3px solid #17a2b8;
}
.shift-detail.evening {
    background: #f8d7da;
    border-left: 3px solid #dc3545;
}
.shift-detail .shift-time {
    font-weight: bold;
    color: #333;
}
.shift-detail .shift-dept {
    color: #666;
    font-size: 0.7rem;
}
.shifts-list {
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
}
.shifts-list h2 {
    color: #333;
    margin-bottom: 20px;
}
.shift-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    background: #fff;
}
.shift-item:hover {
    background: #e3f0ff;
    border-color: #667eea;
}
.shift-details {
    flex: 1;
}
.shift-date {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.shift-time {
    color: #7f8c8d;
    margin-bottom: 5px;
}
.shift-department {
    color: #667eea;
    font-size: 0.9rem;
}
.shift-actions {
    display: flex;
    gap: 10px;
}
.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}
.btn-primary:hover {
    background: #764ba2;
}
.btn-warning {
    background: #f39c12;
    color: #fff;
}
.btn-warning:hover {
    background: #e67e22;
}
.btn-danger {
    background: #e74c3c;
    color: #fff;
}
.btn-danger:hover {
    background: #c0392b;
}
.btn-success {
    background: #27ae60;
    color: #fff;
}
.btn-success:hover {
    background: #229954;
}
.btn-small {
    padding: 6px 12px;
    font-size: 0.9rem;
}
.status-badge {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}
.status-confirmed {
    background: #d4edda;
    color: #155724;
}
.status-pending {
    background: #667eea;
    color: #fff;
}
.status-cancelled {
    background: #e74c3c;
    color: #fff;
}
.status-pending-approval {
    background: #ffc107;
    color: #333;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}
.modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 18px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    .calendar-grid {
        font-size: 0.9rem;
    }
    .calendar-day {
        min-height: 80px;
        padding: 10px;
    }
    .shift-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .shift-actions {
        width: 100%;
        justify-content: flex-end;
    }
}
/* --- Employee Trades Page Styles --- */
body.employee-trades {
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    min-height: 100vh;
    color: #333;
}
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}
.tab-btn {
    padding: 12px 24px;
    background: #fff;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}
.tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: #667eea;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.trades-grid {
    display: grid;
    gap: 24px;
}
.trade-card {
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}
.trade-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(102,126,234,0.18);
}
.trade-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.trade-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}
.trade-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    background: #667eea;
    color: #fff;
    margin-left: 10px;
}
.status-pending {
    background: #667eea;
    color: #fff;
}
.status-approved {
    background: #27ae60;
    color: #fff;
}
.status-rejected {
    background: #e74c3c;
    color: #fff;
}
.trade-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}
.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.detail-icon {
    font-size: 1.2rem;
}
.detail-text {
    color: #555;
}
.trade-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.action-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}
.btn-primary:hover {
    background: #764ba2;
}
.btn-success {
    background: #27ae60;
    color: #fff;
}
.btn-success:hover {
    background: #229954;
}
.btn-danger {
    background: #e74c3c;
    color: #fff;
}
.btn-danger:hover {
    background: #c0392b;
}
.no-trades {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
}
.no-trades-icon {
    font-size: 3rem;
    color: #bdc3c7;
    margin-bottom: 20px;
}
.no-trades-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}
.no-trades-text {
    color: #7f8c8d;
    font-size: 1.1rem;
}
.loading {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
}
.spinner {
    border: 3px solid #e3e6ff;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        order: -1;
    }
    .page-header {
        padding: 20px;
    }
    .trade-card {
        padding: 20px;
    }
    .trade-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .trade-actions {
        justify-content: flex-start;
    }
    .tabs {
        flex-direction: column;
    }
}
/* --- Shifts Page Styles --- */
.shifts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}
.shift-card {
    background: linear-gradient(135deg, #e3f0ff 0%, #fff 100%);
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
    transition: all 0.3s ease;
    border-left: 4px solid #667eea;
    margin-bottom: 0;
}
.shift-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(102,126,234,0.18);
}
.shift-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}
.shift-time {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}
.shift-status {
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background: #e1e8ed;
    color: #333;
    margin-left: 10px;
}
.status-scheduled {
    background: #667eea;
    color: #fff;
}
.status-completed {
    background: #27ae60;
    color: #fff;
}
.status-cancelled {
    background: #e74c3c;
    color: #fff;
}
.status-available_for_pickup {
    background: #f39c12;
    color: #fff;
}
.status-pending-approval {
    background: #ffc107;
    color: #333;
}
.shift-info {
    margin-bottom: 18px;
}
.shift-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.97rem;
}
.shift-detail strong {
    color: #333;
}
.shift-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
/* Modal styles reused from employees page */
/* --- Employees Page Styles --- */
.header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 4px 24px rgba(102,126,234,0.10);
    margin-bottom: 30px;
}
.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}
.nav-links {
    display: flex;
    gap: 20px;
}
.nav-link {
    color: #333;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}
.nav-link:hover, .nav-link.active {
    background: #667eea;
    color: #fff;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.page-header {
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    padding: 30px;
    border-radius: 18px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(102,126,234,0.10);
    text-align: center;
}
.page-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}
.filters {
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    padding: 25px;
    border-radius: 18px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(102,126,234,0.10);
}
.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}
.filter-group {
    display: flex;
    flex-direction: column;
}
.filter-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}
.filter-group input,
.filter-group select {
    padding: 12px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #f6f8fa;
}
.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.13);
}
.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.18);
}
.btn-secondary {
    background: #6c757d;
    color: #fff;
}
.btn-success {
    background: #27ae60;
    color: #fff;
}
.btn-danger {
    background: #dc3545;
    color: #fff;
}
.btn-warning {
    background: #ffc107;
    color: #212529;
}
.btn-small {
    padding: 6px 12px;
    font-size: 0.8rem;
}
.employees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.employee-card {
    background: linear-gradient(135deg, #e3f0ff 0%, #fff 100%);
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
    transition: all 0.3s ease;
    border-left: 4px solid #667eea;
}
.employee-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(102,126,234,0.18);
}
.employee-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}
.employee-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}
.employee-role {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.role-admin {
    background: #e74c3c;
    color: #fff;
}
.role-manager {
    background: #f39c12;
    color: #fff;
}
.role-employee {
    background: #27ae60;
    color: #fff;
}
.employee-info {
    margin-bottom: 20px;
}
.employee-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
.employee-detail strong {
    color: #333;
}
.employee-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.modal-content {
    background: #fff;
    margin: 3% auto;
    padding: 30px;
    border-radius: 18px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e1e8ed;
}
.modal-title {
    font-size: 1.5rem;
    color: #333;
}
.close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #7f8c8d;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #f6f8fa;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.alert {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}
.alert-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}
.loading {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
}
.spinner {
    border: 3px solid #e3e6ff;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.invitation-section {
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    border: 2px solid #667eea;
    border-radius: 18px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 4px 16px rgba(102,126,234,0.08);
}
.invitation-title {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3rem;
}
.pending-invitations {
    margin-top: 20px;
}
.invitation-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #f39c12;
    box-shadow: 0 2px 8px rgba(102,126,234,0.08);
}
.invitation-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    .filter-row {
        grid-template-columns: 1fr;
    }
    .employees-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}
/* --- Reports Page Styles --- */
.report-filters {
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(102,126,234,0.10);
    padding: 28px 24px 18px 24px;
    margin-bottom: 32px;
}
.filter-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: flex-end;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 32px;
}
.stats-card {
    background: linear-gradient(135deg, #e3f0ff 0%, #fff 100%);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}
.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}
.stat-label {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}
.chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 32px;
}
.chart-card {
    background: linear-gradient(135deg, #e3f0ff 0%, #fff 100%);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
    padding: 2rem 1.5rem;
}
.chart-title {
    font-size: 1.2rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 1rem;
}
.chart-container {
    width: 100%;
    min-height: 260px;
}
.table-card {
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
    padding: 2rem 1.5rem;
    margin-bottom: 32px;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(102,126,234,0.08);
}
.data-table th, .data-table td {
    border: 1px solid #e1e8ed;
    padding: 12px 10px;
    text-align: left;
}
.data-table th {
    background-color: #e3f0ff;
    font-weight: bold;
    color: #667eea;
}
.data-table tr:nth-child(even) {
    background: #f6f8fa;
}
.export-section {
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
    padding: 2rem 1.5rem;
    margin-bottom: 32px;
    text-align: center;
}
.export-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-top: 1rem;
}
.export-date {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
}
/* Center login page container */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
/* --- Login Page Styles --- */
.login-container {
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(102,126,234,0.13);
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}
.login-left {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.login-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.08)"/></svg>') repeat;
    animation: float 20s infinite linear;
}
@keyframes float {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-20px) translateY(-20px); }
}
.logo {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    z-index: 1;
    position: relative;
    color: #667eea;
}
.tagline {
    font-size: 1.1rem;
    opacity: 0.95;
    line-height: 1.6;
    z-index: 1;
    position: relative;
    color: #e3e6ff;
}
.login-right {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}
.login-header {
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(102,126,234,0.08);
    padding: 24px 0 16px 0;
}
.login-header h2 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.login-header p {
    color: #7f8c8d;
    font-size: 0.95rem;
}
.form-group {
    margin-bottom: 25px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.9rem;
}
.form-group input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f6f8fa;
}
.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.13);
}
.login-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}
.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}
.login-btn:active {
    transform: translateY(0);
}
.login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.test-accounts {
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    border-radius: 14px;
    padding: 20px;
    margin-top: 20px;
    border-left: 4px solid #667eea;
    box-shadow: 0 4px 16px rgba(102,126,234,0.08);
}
.test-accounts h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}
.account-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e1e8ed;
    cursor: pointer;
    transition: all 0.2s ease;
}
.account-item:last-child {
    border-bottom: none;
}
.account-item:hover {
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    padding-left: 10px;
    border-radius: 8px;
}
.account-info {
    font-size: 0.8rem;
}
.account-role {
    font-weight: 600;
    color: #2c3e50;
}
.account-email {
    color: #7f8c8d;
}
.use-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.use-btn:hover {
    background: #5a6fd8;
}
.alert {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    display: none;
}
.alert.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}
.alert.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}
.loading {
    display: none;
    text-align: center;
    margin-top: 10px;
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(102,126,234,0.08);
}
.spinner {
    border: 2px solid #e3e6ff;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 10px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .login-left {
        padding: 40px 30px;
        text-align: center;
    }
    .login-right {
        padding: 40px 30px;
    }
    .logo {
        font-size: 2rem;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', 'Roboto', 'Poppins', Arial, sans-serif;
    background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
    color: #222;
}
.navbar {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 4px 24px rgba(102,126,234,0.10);
    margin-bottom: 30px;
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    text-decoration: none;
}
.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}
.nav-links a {
    color: #333;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}
.nav-links a:hover, .nav-links a.active {
    background: #667eea;
    color: #fff;
}
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.page-header {
    background: #fff;
    padding: 30px;
    border-radius: 18px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(102,126,234,0.10);
    text-align: center;
}
.page-header h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}
.page-header p {
    color: #667eea;
    font-size: 1.1rem;
}
.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}
.tab-btn {
    background: #fff;
    border: none;
    padding: 1.1rem 2.2rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    flex: 1;
    font-size: 1.08rem;
    color: #667eea;
    box-shadow: 0 2px 8px rgba(102,126,234,0.08);
}
.tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(102,126,234,0.18);
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.trade-card {
    background: linear-gradient(135deg, #e3f0ff 0%, #fff 100%);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
    transition: box-shadow 0.2s, transform 0.2s;
    border-left: 4px solid #667eea;
    margin-bottom: 1.5rem;
}
.trade-card:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 16px 48px rgba(102,126,234,0.18);
}
.trade-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}
.trade-header h3 {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
}
.trade-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1rem;
    color: #333;
}
.info-item i {
    color: #667eea;
    width: 18px;
    font-size: 1.1rem;
}
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.status-pending { background: #fff3cd; color: #856404; }
.status-approved { background: #d4edda; color: #155724; }
.status-rejected { background: #f8d7da; color: #721c24; }
.trade-actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.18);
}
.btn-secondary {
    background: #6c757d;
    color: #fff;
}
.btn-success {
    background: #27ae60;
    color: #fff;
}
.btn-warning {
    background: #ffc107;
    color: #212529;
}
.btn-danger {
    background: #dc3545;
    color: #fff;
}
.filters {
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(102,126,234,0.10);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}
.filter-group {
    display: flex;
    flex-direction: column;
}
.filter-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}
.filter-group select,
.filter-group input {
    padding: 12px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.filter-group input:focus, .filter-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.no-data {
    text-align: center;
    padding: 3rem;
    color: #667eea;
}
.no-data i {
    font-size: 3rem;
    color: #e3e6ff;
    margin-bottom: 1rem;
}
.create-trade-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 1.2rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.7rem;
    box-shadow: 0 6px 24px rgba(102,126,234,0.18);
    transition: all 0.3s;
}
.create-trade-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 32px rgba(102,126,234,0.22);
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 18px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e1e8ed;
}
.modal-header h2 {
    font-size: 1.5rem;
    color: #333;
}
.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #7f8c8d;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.form-group textarea {
    min-height: 100px;
    resize: vertical;
}
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 20px;
}
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    .container {
        padding: 0 1rem;
    }
    .trade-info {
        grid-template-columns: 1fr;
    }
    .filters {
        flex-direction: column;
        align-items: stretch;
    }
    .tabs {
        flex-direction: column;
    }
    .trade-actions {
        justify-content: center;
    }
}

/* Employee Filters Gradient Background */
.filters {
  background: linear-gradient(135deg, #e3f0ff 0%, #f6f8fa 100%);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(102,126,234,0.10);
  padding: 28px 24px 18px 24px;
  margin-bottom: 32px;
}
