/* Reports Dashboard - Beautiful Tile Design */

/* Main Dashboard Container */
.reports-dashboard {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px 0;
}

/* Dashboard Header */
.dashboard-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dashboard-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.dashboard-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    font-weight: 400;
}

/* Report Tiles */
.report-tile {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.report-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tile-accent), var(--tile-accent-light));
    border-radius: 20px 20px 0 0;
}

.report-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Tile Header */
.tile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.tile-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--tile-text);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tile-icon {
    font-size: 2.5rem;
    opacity: 0.8;
    color: var(--tile-accent);
}

.tile-description {
    color: var(--tile-text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Tile Buttons */
.tile-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tile-btn {
    background: linear-gradient(135deg, var(--tile-accent), var(--tile-accent-light));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.tile-btn i {
    font-size: 1rem;
}

/* Tile Color Schemes */
.tile-party {
    --tile-accent: #4f46e5;
    --tile-accent-light: #6366f1;
    --tile-text: #1e293b;
    --tile-text-secondary: #64748b;
}

.tile-stock {
    --tile-accent: #059669;
    --tile-accent-light: #10b981;
    --tile-text: #1e293b;
    --tile-text-secondary: #64748b;
}

.tile-processing {
    --tile-accent: #0891b2;
    --tile-accent-light: #06b6d4;
    --tile-text: #1e293b;
    --tile-text-secondary: #64748b;
}

.tile-financial {
    --tile-accent: #d97706;
    --tile-accent-light: #f59e0b;
    --tile-text: #1e293b;
    --tile-text-secondary: #64748b;
}

.tile-print {
    --tile-accent: #dc2626;
    --tile-accent-light: #ef4444;
    --tile-text: #1e293b;
    --tile-text-secondary: #64748b;
}

.tile-quick {
    --tile-accent: #6b7280;
    --tile-accent-light: #9ca3af;
    --tile-text: #1e293b;
    --tile-text-secondary: #64748b;
}

/* Recent Reports Section */
.recent-reports {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.recent-reports-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.recent-reports-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recent-reports-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.recent-reports-table th {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    color: #475569;
    font-weight: 600;
    padding: 15px;
    border: none;
}

.recent-reports-table td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    color: #64748b;
}

.recent-reports-table tr:hover {
    background: #f8fafc;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state-text {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .reports-dashboard {
        padding: 15px 0;
    }
    
    .dashboard-header {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .dashboard-title {
        font-size: 2rem;
    }
    
    .report-tile {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .tile-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .tile-icon {
        font-size: 2rem;
    }
    
    .tile-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .tile-btn {
        flex: 1;
        min-width: 140px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print Styles */
@media print {
    .reports-dashboard {
        background: white !important;
        padding: 0 !important;
    }
    
    .report-tile {
        background: white !important;
        box-shadow: none !important;
        border: 1px solid #e2e8f0 !important;
        break-inside: avoid;
    }
    
    .tile-btn {
        background: #f1f5f9 !important;
        color: #475569 !important;
        border: 1px solid #e2e8f0 !important;
    }
    
    .recent-reports {
        background: white !important;
        box-shadow: none !important;
        border: 1px solid #e2e8f0 !important;
    }
} 