/* 
 * Sistem Informasi Nota Listrik - Main Styling
 * Theme: Dark Green (#064e3b, #065f46) with Crisp Bright Accents
 */

:root {
  --primary-dark: #064e3b;
  --primary-darker: #022c22;
  --primary-medium: #047857;
  --primary-light: #059669;
  --accent-bright: #10b981;
  --accent-glow: #34d399;
  --accent-mint: #a7f3d0;
  --text-bright: #f8fafc;
  --text-muted: #94a3b8;
  --card-dark: #064e3b;
  --card-border: #047857;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1e293b;
  background-color: #f1f5f9;
}

/* Dark Green Gradient Backgrounds */
.bg-dark-green {
  background-color: #064e3b;
}

.bg-dark-gradient {
  background: linear-gradient(135deg, #022c22 0%, #064e3b 50%, #065f46 100%);
}

.bg-sidebar {
  background: linear-gradient(180deg, #022c22 0%, #064e3b 60%, #065f46 100%);
}

/* Bright text & glowing accents */
.text-bright-green {
  color: #34d399;
}

.text-bright-mint {
  color: #a7f3d0;
}

.border-bright-green {
  border-color: #10b981;
}

/* Card Styling */
.card-green-glow {
  background: linear-gradient(145deg, #064e3b, #047857);
  border: 1px solid rgba(52, 211, 153, 0.25);
  box-shadow: 0 10px 25px -5px rgba(6, 78, 59, 0.3), 0 8px 10px -6px rgba(6, 78, 59, 0.2);
}

.card-stat {
  border-radius: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

.card-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -5px rgba(6, 95, 70, 0.4);
}

/* Custom Table Styling */
.table-custom thead th {
  background: #022c22;
  color: #a7f3d0;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 0.85rem 1rem;
}

.table-custom tbody tr {
  transition: background-color 0.15s ease;
}

.table-custom tbody tr:hover {
  background-color: #f0fdf4;
}

/* PLN Receipt Monospace styling */
.font-receipt {
  font-family: 'Consolas', 'Courier New', Courier, monospace;
}

.receipt-box {
  background: #ffffff;
  border: 1px dashed #64748b;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Buttons */
.btn-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  transition: all 0.2s ease;
  font-weight: 600;
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #022c22;
}

::-webkit-scrollbar-thumb {
  background: #047857;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #10b981;
}
