/* Page Header Styling */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0d6efd;
    padding: 1rem;
    color: white;
    border-radius: 0;
    margin-bottom: 20px;
    position: relative;
    z-index: 1000;
}

.header .page-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-date {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.header-date i {
    margin-right: 5px;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    transition: background 0.3s;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 10px !important; /* Reduced margin for mobile */
        margin-top: 3px !important; /* Reduced top margin for mobile */
    }

    .header-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* Aggressive mobile header spacing */
@media (max-width: 480px) {
    .header {
        margin-bottom: 8px !important;
        margin-top: 2px !important;
        padding: 0.8rem !important;
    }
}

@media (max-width: 375px) {
    .header {
        margin-bottom: 5px !important;
        margin-top: 2px !important;
        padding: 0.6rem !important;
    }
}

@media (max-width: 320px) {
    .header {
        margin-bottom: 5px !important;
        margin-top: 2px !important;
        padding: 0.5rem !important;
    }
}

/* Print styles */
@media print {
    .header {
        background-color: transparent !important;
        color: #000 !important;
    }
    
    .header-actions {
        display: none !important;
    }
} 