/* ===== GLOBAL RESET & BASE ===== */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

body { 
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
  color: #111;
}

.container { 
  max-width: 1400px; 
  margin: 0 auto;
}

/* ===== DASHBOARD HEADER ===== */
.dashboard-header {
  color: #fff;
  margin-bottom: 25px;
  text-align: center;
}

.dashboard-header h1 {
  font-size: 32px;
  margin-bottom: 5px;
}

.dashboard-header p {
  font-size: 14px;
  opacity: 0.9;
}

/* ===== LANGUAGE TOGGLE ===== */
.language-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 100;
}

.lang-btn {
  padding: 8px 14px;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  transition: all 0.3s;
}

.lang-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.lang-btn.active {
  background: #667eea;
  color: #fff;
  border-color: #667eea;
}

/* ===== MAIN DASHBOARD LAYOUT ===== */
.dashboard-main {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

/* ===== LEFT SIDEBAR ===== */
.sidebar-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Quick Stats Cards */
.quick-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.stat-icon {
  font-size: 28px;
  min-width: 40px;
}

.stat-info {
  flex: 1;
}

.stat-label {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 20px;
  font-weight: 700;
  color: #667eea;
  margin: 4px 0;
}

.stat-status {
  font-size: 11px;
  color: #4caf50;
  font-weight: 600;
}

.stat-status.warning {
  color: #ff9800;
}

.balance-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.balance-card .stat-value {
  color: #fff;
}

.warning-card {
  background: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
  color: white;
}

.warning-card .stat-value {
  color: #fff;
}

/* Bills Due Section */
.bills-due-section {
  background: white;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.bills-due-section h3 {
  font-size: 14px;
  margin-bottom: 12px;
  color: #333;
}

.bill-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
}

.bill-item:last-child {
  border-bottom: none;
}

.bill-amount {
  font-weight: 600;
  color: #667eea;
}

.bill-item.total-bill {
  border-top: 2px solid #f0f0f0;
  margin-top: 8px;
  padding-top: 12px;
  font-weight: 700;
  color: #333;
}

.bill-amount-total {
  color: #ff6b6b;
  font-size: 16px;
}

/* Connection Status */
.connection-status {
  background: white;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.connection-status h3 {
  font-size: 14px;
  margin-bottom: 12px;
  color: #333;
}

.status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 12px;
}

.status-item:last-child {
  border-bottom: none;
}

.status-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  background: #f0f0f0;
  color: #666;
}

.status-badge.active {
  background: #c8e6c9;
  color: #2e7d32;
}

.status-value {
  color: #666;
  font-weight: 600;
}

/* Quick Actions */
.quick-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-primary-side {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 13px;
}

.btn-primary-side:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary-side {
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 12px;
}

.btn-secondary-side:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

/* Sidebar Email Section */
.sidebar-email-section {
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sidebar-email-section h3 {
  font-size: 14px;
  margin-bottom: 12px;
  color: #333;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.checkbox-group input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 12px;
  cursor: pointer;
  color: #555;
}

.sidebar-email-section input[type="email"] {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 12px;
  margin-top: 8px;
}

.email-msg {
  font-size: 11px;
  margin-top: 8px;
  padding: 8px;
  border-radius: 4px;
}

.email-msg.success {
  background: #c8e6c9;
  color: #2e7d32;
}

.email-msg.error {
  background: #ffcdd2;
  color: #c62828;
}

/* ===== RIGHT CONTENT ===== */
.content-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Alerts Section */
.alerts-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.alerts-section h3 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #333;
}

.alerts-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.alert-item {
  padding: 14px;
  border-radius: 8px;
  border-left: 4px solid;
  display: flex;
  gap: 12px;
}

.alert-icon {
  font-size: 20px;
  min-width: 24px;
}

.alert-content {
  flex: 1;
}

.alert-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}

.alert-desc {
  font-size: 12px;
  opacity: 0.8;
}

.alert-info {
  background: #e3f2fd;
  border-left-color: #2196f3;
  color: #1565c0;
}

.alert-warning {
  background: #fff3e0;
  border-left-color: #ff9800;
  color: #e65100;
}

.alert-success {
  background: #e8f5e9;
  border-left-color: #4caf50;
  color: #1b5e20;
}

/* Analytics Section */
.analytics-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.analytics-section h3 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #333;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.analytics-card {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.analytics-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.card-icon {
  font-size: 28px;
}

.analytics-card h4 {
  font-size: 13px;
  color: #333;
  margin: 0;
}

.analytics-card p {
  font-size: 11px;
  color: #999;
  margin: 0;
}

.btn-small {
  background: #667eea;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-small:hover {
  background: #764ba2;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Export Section */
.export-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.export-section h3 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #333;
}

.export-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.btn {
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.3s;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
}

.btn-secondary:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

/* Security Section */
.security-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.security-section h3 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #333;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.security-card {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 16px;
  transition: all 0.3s;
}

.security-card:hover {
  border-color: #667eea;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.security-card h4 {
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
}

.security-card p {
  font-size: 12px;
  color: #666;
  margin-bottom: 12px;
}

/* Toggle Switch */
.toggle-wrapper {
  display: flex;
  align-items: center;
}

.toggle-input {
  display: none;
}

.toggle-label {
  position: relative;
  width: 50px;
  height: 26px;
  background: #ccc;
  border-radius: 13px;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle-label::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: left 0.3s;
}

.toggle-input:checked + .toggle-label {
  background: #667eea;
}

.toggle-input:checked + .toggle-label::after {
  left: 26px;
}

/* ===== MODALS ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 12px;
  padding: 30px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.modal-header h2 {
  font-size: 22px;
  color: #333;
  margin: 0;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #333;
}

/* Tables in Modals */
.billing-table, .trends-table, .payment-receipt {
  width: 100%;
  border-collapse: collapse;
}

.billing-table thead, .trends-table thead {
  background: #f0f0f0;
}

.billing-table th, .trends-table th {
  padding: 12px;
  text-align: left;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #ddd;
}

.billing-table td, .trends-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
  color: #555;
}

.billing-table tbody tr:hover, .trends-table tbody tr:hover {
  background: #f8f9fa;
}

.billing-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

.summary-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.summary-item span {
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.summary-item strong {
  font-size: 20px;
  color: #667eea;
}

.payment-summary {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  border-left: 4px solid #667eea;
}

.payment-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.payment-receipt {
  background: white;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 15px;
  transition: all 0.3s;
}

.payment-receipt:hover {
  border-color: #667eea;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.status-badge {
  background: #d4edda;
  color: #155724;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.receipt-details {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.receipt-details p {
  margin: 0;
  font-size: 13px;
  color: #666;
}

.receipt-details strong {
  color: #333;
}

/* ===== LOGIN PAGE ===== */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.login-box {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 400px;
}

.login-box h1 {
  text-align: center;
  color: #667eea;
  margin-bottom: 30px;
  font-size: 28px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
}

.form-group button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.form-group button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.error {
  color: #c62828;
  padding: 12px;
  background: #ffcdd2;
  border-radius: 6px;
  margin-top: 16px;
  font-size: 13px;
}

.success {
  color: #2e7d32;
  padding: 12px;
  background: #c8e6c9;
  border-radius: 6px;
  margin-top: 16px;
  font-size: 13px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .dashboard-main {
    grid-template-columns: 1fr;
  }

  .sidebar-left {
    order: 2;
  }

  .content-right {
    order: 1;
  }
}

@media (max-width: 768px) {
  .language-toggle {
    position: static;
    margin-bottom: 15px;
    flex-wrap: wrap;
  }

  .lang-btn {
    font-size: 11px;
    padding: 6px 10px;
  }

  .dashboard-header h1 {
    font-size: 24px;
  }

  .alerts-container {
    grid-template-columns: 1fr;
  }

  .analytics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .export-buttons {
    grid-template-columns: repeat(2, 1fr);
  }

  .security-grid {
    grid-template-columns: 1fr;
  }

  .modal-content {
    padding: 20px;
  }

  .billing-table, .trends-table {
    font-size: 12px;
  }

  .billing-table th, .trends-table th,
  .billing-table td, .trends-table td {
    padding: 8px;
  }
}

/* ===== PAGE HEADER SECTION ===== */
.page-header {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: center;
}

.page-header h1 {
  font-size: 28px;
  color: #667eea;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 14px;
  color: #666;
}

/* ===== CARD SECTION ===== */
.card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card h2 {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 12px;
}

.card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* ===== PAYMENT PAGE SPECIFIC ===== */
.options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.options button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.options button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.accept-note {
  background: #e3f2fd;
  border-left: 4px solid #2196f3;
  padding: 15px;
  border-radius: 6px;
  margin: 20px 0;
  color: #1565c0;
  font-size: 13px;
}

.accept-note small {
  display: block;
  margin-top: 8px;
  opacity: 0.8;
}

.steps {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.steps h4 {
  font-size: 16px;
  color: #333;
  margin-bottom: 15px;
}

.steps ol {
  list-style-position: inside;
  color: #555;
  font-size: 13px;
}

.steps li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* ===== FORM ELEMENTS ===== */
.form-group {
  margin-bottom: 15px;
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 8px rgba(102, 126, 234, 0.2);
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

/* ===== BUTTONS ===== */
.btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
  display: inline-block;
  margin-top: 10px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-back {
  padding: 12px 24px;
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
  display: inline-block;
  margin-top: 10px;
}

.btn-back:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

/* ===== CONFIRM MESSAGE ===== */
#confirmMsg {
  margin-top: 15px;
  padding: 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  display: none;
}

#confirmMsg.success {
  background: #c8e6c9;
  color: #2e7d32;
  display: block;
}

#confirmMsg.error {
  background: #ffcdd2;
  color: #c62828;
  display: block;
}

/* ===== IFRAME STYLING (for Google Forms) ===== */
iframe {
  width: 100%;
  height: 1000px;
  border: none;
  border-radius: 8px;
}

/* ===== TERMS PAGE ===== */
.card h3 {
  margin-top: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .page-header {
    padding: 20px;
  }

  .card {
    padding: 20px;
  }

  .options {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }

  iframe {
    height: 800px;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 15px;
    margin-bottom: 20px;
  }

  .page-header h1 {
    font-size: 22px;
  }

  .card {
    padding: 15px;
    margin-bottom: 15px;
  }

  .card h2 {
    font-size: 18px;
  }

  .card h3 {
    font-size: 16px;
  }

  .options {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
  }

  .options button {
    padding: 12px;
    font-size: 12px;
  }

  iframe {
    height: 600px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 10px;
  }

  .page-header {
    padding: 12px;
    margin-bottom: 15px;
  }

  .page-header h1 {
    font-size: 18px;
  }

  .page-header p {
    font-size: 12px;
  }

  .card {
    padding: 12px;
    margin-bottom: 12px;
  }

  .card h2 {
    font-size: 16px;
  }

  .card h3 {
    font-size: 14px;
  }

  .card p {
    font-size: 12px;
  }

  .options {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .options button {
    padding: 12px;
    font-size: 13px;
  }

  .submit-btn {
    padding: 10px;
    font-size: 13px;
  }

  .form-group input {
    padding: 10px;
    font-size: 13px;
  }

  .btn, .btn-back {
    padding: 10px 16px;
    font-size: 12px;
  }

  .dashboard-header h1 {
    font-size: 20px;
  }

  .quick-stats {
    gap: 10px;
  }

  .stat-card {
    padding: 12px;
  }

  .stat-icon {
    font-size: 24px;
  }

  .stat-value {
    font-size: 16px;
  }

  .analytics-grid {
    grid-template-columns: 1fr;
  }

  .export-buttons {
    grid-template-columns: 1fr;
  }

  .modal-content {
    max-height: 95vh;
    padding: 15px;
  }

  iframe {
    height: 500px;
  }
}
