.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.header h1 {
    margin: 0;
    font-size: 28px;
}

.header p {
    margin: 5px 0 0 0;
    opacity: 0.9;
}

.page-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.leave-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.leave-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.leave-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.leave-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.leave-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.annual-icon {
    background: #dbeafe;
    color: #1e40af;
}

.casual-icon {
    background: #d1fae5;
    color: #065f46;
}

.sick-icon {
    background: #fee2e2;
    color: #991b1b;
}

.leave-card h3 {
    margin: 0;
    font-size: 16px;
    color: #6b7280;
}

.leave-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 28px;
    font-weight: bold;
    display: block;
}

.stat-label {
    font-size: 12px;
    color: #6b7280;
    margin-top: 5px;
}

.progress-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-fill {
    height: 100%;
    transition: width 0.3s;
    border-radius: 10px;
}

.annual-progress {
    background: linear-gradient(90deg, #3b82f6, #1e40af);
}

.casual-progress {
    background: linear-gradient(90deg, #10b981, #065f46);
}

.sick-progress {
    background: linear-gradient(90deg, #ef4444, #991b1b);
}

.info-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-section h2 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #111827;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-item {
    padding: 15px;
    background: #f9fafb;
    border-radius: 8px;
}

.info-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 5px;
}

.info-value {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.recent-leaves {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.recent-leaves h2 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #111827;
}

.leave-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e5e7eb;
    transition: background 0.2s;
}

.leave-item:last-child {
    border-bottom: none;
}

.leave-item:hover {
    background: #f9fafb;
}

.leave-item-info {
    flex: 1;
}

.leave-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 5px;
}

.badge-annual {
    background: #dbeafe;
    color: #1e40af;
}

.badge-casual {
    background: #d1fae5;
    color: #065f46;
}

.badge-sick {
    background: #fee2e2;
    color: #991b1b;
}

.leave-dates {
    font-size: 14px;
    color: #6b7280;
}

.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.approved {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.total {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.rejected {
    background: #fee2e2;
    color: #991b1b;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #6b7280;
}

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-warning {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    color: #92400e;
}

.alert-info {
    background: #dbeafe;
    border-left: 4px solid #3b82f6;
    color: #1e40af;
}

.upcoming-leaves {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.upcoming-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f0fdf4;
    border-radius: 8px;
    margin-bottom: 10px;
}

.upcoming-date {
    min-width: 60px;
    text-align: center;
    padding: 10px;
    background: white;
    border-radius: 8px;
    border: 2px solid #10b981;
}

.upcoming-date-day {
    font-size: 24px;
    font-weight: bold;
    color: #10b981;
    display: block;
}

.upcoming-date-month {
    font-size: 12px;
    color: #6b7280;
}