
/* HGLawMiner Custom Styles */

body, html {
    font-family: 'Tahoma', 'Vazirmatn', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    direction: rtl;
}

.powerbi-page {
    padding: 25px;
    max-width: 1650px;
    margin: 0 auto;
}

/* Home */
.home-shell {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a1f3d, #1e3a6e);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.home-nav {
    position: absolute;
    top: 30px;
    display: flex;
    gap: 15px;
}

.home-nav-button {
    color: white;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.4);
    transition: all 0.3s;
}

.home-nav-button:hover, .home-nav-button.active {
    background: rgba(255,255,255,0.2);
    border-color: white;
}

/* Cards & Charts */
.metric-card, .chart-card, .filter-card, .structure-panel {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 16px;
}

.metric-value {
    font-size: 2.4rem;
    font-weight: bold;
    color: #0a1f3d;
}

.chart-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

/* Grid Layouts */
.law-grid, .indicators-grid {
    display: grid;
    gap: 20px;
}

.law-grid {
    grid-template-columns: 1fr 340px 280px;
}

.indicators-grid {
    grid-template-columns: 1fr 1fr 360px;
}

/* Filters */
.powerbi-dropdown .Select-control {
    border-radius: 8px;
}

.reset-button {
    width: 100%;
    padding: 12px;
    background: #0a1f3d;
    color: white;
    border: none;
    border-radius: 8px;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 1200px) {
    .law-grid, .indicators-grid {
        grid-template-columns: 1fr;
    }
}