/**
 * Renhel Core Frontend Styles - Pro Max UI
 * Styles for shortcodes, summary cards and DataTables.
 */

.renhel-report {
  font-family: var(--rh-font-sans);
  margin: 30px 0;
}

.renhel-report h3 {
  font-family: var(--rh-font-display);
  margin-bottom: 25px;
  color: var(--rh-color-primary);
  font-weight: 700;
  font-size: var(--rh-font-size-xl);
}

/* ==========================================================================
   DataTables Pro Max Customization
   ========================================================================== */

.renhel-report .dataTables_wrapper {
  background: var(--rh-color-surface-1);
  border-radius: var(--rh-radius-lg);
  padding: 30px;
  box-shadow: var(--rh-shadow-md);
  border: 1px solid var(--rh-border-color);
}

.renhel-report .dataTables_filter input {
  padding: 12px 20px;
  border: 2px solid var(--rh-border-color);
  border-radius: var(--rh-radius-full);
  outline: none;
  width: 300px;
  font-size: var(--rh-font-size-sm);
  transition: all var(--rh-transition-fast);
  background: var(--rh-color-surface-2);
}

.renhel-report .dataTables_filter input:focus {
  border-color: var(--rh-color-accent);
  background: #fff;
  box-shadow: 0 0 0 4px var(--rh-border-focus);
}

.renhel-datatable thead th {
  background: var(--rh-color-surface-2);
  color: var(--rh-text-secondary);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 16px 20px;
  border-bottom: 2px solid var(--rh-border-color);
}

.renhel-datatable tbody td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--rh-color-surface-3);
  font-size: var(--rh-font-size-sm);
  color: var(--rh-text-primary);
}

.renhel-datatable tbody tr:hover {
  background: var(--rh-color-surface-2);
}

/* Export Buttons Premium */
.renhel-report .dt-buttons .dt-button {
  background: var(--rh-color-primary) !important;
  color: #fff !important;
  border: none !important;
  padding: 10px 20px !important;
  border-radius: var(--rh-radius-full) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  box-shadow: var(--rh-shadow-sm) !important;
  margin-right: 10px !important;
}

.renhel-report .dt-buttons .dt-button:hover {
  background: var(--rh-color-accent) !important;
  transform: translateY(-2px);
  box-shadow: var(--rh-shadow-md) !important;
}

/* ==========================================================================
   Summary Cards - Pro Max Grid
   ========================================================================== */

.renhel-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.renhel-summary-card {
  background: var(--rh-color-surface-1);
  border-radius: var(--rh-radius-md);
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--rh-shadow-sm);
  border: 1px solid var(--rh-border-color);
  transition: all var(--rh-transition-normal);
}

.renhel-summary-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--rh-shadow-lg);
  border-color: var(--rh-color-accent);
}

.renhel-summary-value {
  font-family: var(--rh-font-display);
  font-size: var(--rh-font-size-2xl);
  font-weight: 800;
  color: var(--rh-color-primary);
  display: block;
}

.renhel-summary-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rh-text-muted);
  margin-top: 10px;
}

/* Status Badges Refined */
.renhel-status {
  padding: 6px 14px;
  border-radius: var(--rh-radius-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.renhel-status-available { background: #DCFCE7; color: #166534; }
.renhel-status-rented { background: #DBEAFE; color: #1E40AF; }
.renhel-status-maintenance { background: #FEF3C7; color: #92400E; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .renhel-report .dataTables_wrapper { padding: 15px; }
  .renhel-report .dataTables_filter input { width: 100%; }
}