/* Analytics page-specific styles */

/* Date range */
.date-range { display: flex; align-items: center; gap: 6px; margin: 16px 0; }
.date-range input[type="date"] {
    padding: 9px 10px; border-radius: 6px; font-size: 13px; font-weight: 500;
    border: 1px solid #d1d5db; background: #fff; color: #374151;
    font-family: inherit; transition: all 0.15s; outline: none;
}
.date-range input[type="date"]:focus { border-color: #FF8C00; box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.15); }
.date-range-sep { font-size: 12px; color: #9ca3af; }
.date-range-apply {
    padding: 10px 14px; border-radius: 6px; font-size: 13px; font-weight: 600;
    border: none; background: #FF8C00; color: #fff; cursor: pointer;
    font-family: inherit; transition: all 0.15s;
}
.date-range-apply:hover { background: #E07B00; }

/* Stat cards — styles moved to common.css */

/* Chart grid */
.chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.chart-card {
    background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    padding: 20px;
}
.chart-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.chart-card canvas { width: 100% !important; max-height: 280px; }

/* Table card */
.table-card {
    background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}
.table-card-header {
    padding: 16px 20px; border-bottom: 1px solid #f3f4f6;
}
.table-card-header h3 { font-size: 15px; font-weight: 600; }

/* No access */
.no-access {
    text-align: center; padding: 60px 20px;
}
.no-access h2 { font-size: 20px; font-weight: 600; margin-bottom: 12px; color: #374151; }
.no-access p { font-size: 14px; color: #6b7280; margin-bottom: 20px; }
.no-access a {
    display: inline-block; padding: 10px 24px; background: #FF8C00; color: #fff;
    border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 14px;
}
.no-access a:hover { background: #E07B00; }
