/**
 * Certificate Reports Styles
 * 
 * Styles for the certificate reports page
 * Extracted from inline styles for better theme integration
 */

/* Certificate Reports Content Container */
.hvac-certificate-reports-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.hvac-page-header {
    margin-bottom: 30px;
}

.hvac-page-header h1 {
    margin-bottom: 10px;
}

/* Statistics Grid */
.hvac-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.hvac-stat-card {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.hvac-stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hvac-stat-value {
    font-size: 36px;
    font-weight: bold;
    color: #0073aa;
}

/* Filter Form */
.hvac-filter-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.hvac-filter-row {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.hvac-filter-group {
    flex: 1;
    min-width: 200px;
}

.hvac-filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.hvac-filter-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Table Styles */
.hvac-table-wrapper {
    overflow-x: auto;
}

.hvac-certificates-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border: 1px solid #ddd;
}

.hvac-certificates-table th,
.hvac-certificates-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.hvac-certificates-table th {
    background: #f5f5f5;
    font-weight: bold;
}

.hvac-certificates-table tr:hover {
    background: #f9f9f9;
}

/* Status Styles */
.hvac-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.hvac-status-active {
    background: #d4edda;
    color: #155724;
}

.hvac-status-revoked {
    background: #f8d7da;
    color: #721c24;
}

/* Action Links */
.hvac-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hvac-action-link {
    color: #0073aa;
    text-decoration: none;
    font-size: 14px;
}

.hvac-action-link:hover {
    text-decoration: underline;
}

/* Notices */
.hvac-notice {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.hvac-notice-info {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    color: #1565c0;
}

/* Buttons */
.hvac-button {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
}

.hvac-button-primary {
    background: #0073aa;
    color: white;
}

.hvac-button-primary:hover {
    background: #005a87;
}

/* Responsive */
@media (max-width: 768px) {
    .hvac-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hvac-filter-row {
        flex-direction: column;
    }
    
    .hvac-filter-group {
        width: 100%;
    }
}