/* SELLER SPLASH DASHBOARD - RESPONSIVE STYLES v2.0 */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f8fafc;
}

/* Scrollbar Styles */
.scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.scroll-container::-webkit-scrollbar { height: 8px; display: block; }
.scroll-container::-webkit-scrollbar-track { background: #e2e8f0; border-radius: 4px; }
.scroll-container::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #6366f1, #8b5cf6); border-radius: 4px; }

input:focus, select:focus, button:focus { outline: none; }

/* ============================================
   LOGIN PAGE
   ============================================ */
.login-bg {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #581c87 50%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.login-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 24px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.login-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
}

.login-logo { width: 80px; height: 80px; object-fit: contain; }

.login-title {
  font-size: 28px;
  font-weight: bold;
  color: white;
  margin-top: 24px;
}

.login-subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  margin-top: 4px;
}

.login-form { display: flex; flex-direction: column; gap: 16px; }

.form-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  display: block;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 12px 16px;
  color: white;
  font-size: 14px;
}

.form-input::placeholder { color: rgba(255,255,255,0.4); }

.error-msg {
  color: #f87171;
  font-size: 14px;
  background: rgba(239,68,68,0.2);
  padding: 12px;
  border-radius: 12px;
}

.btn-primary {
  width: 100%;
  background: linear-gradient(90deg, #10b981, #06b6d4);
  color: white;
  font-weight: bold;
  padding: 14px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
  width: 280px;
  background: white;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 50;
  transition: transform 0.3s ease;
}

.sidebar-hidden { transform: translateX(-100%); }
.sidebar-open { transform: translateX(0); }

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-logo { width: 40px; height: 40px; object-fit: contain; }

.sidebar-title { font-size: 16px; font-weight: bold; color: #1e293b; }
.sidebar-user { color: #64748b; font-size: 12px; }

.sidebar-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #94a3b8;
  cursor: pointer;
  display: none;
  padding: 4px 8px;
}

.sidebar-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.select-input {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  color: #334155;
  width: 100%;
}

/* Portfolio Button */
.portfolio-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-align: left;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.portfolio-btn-active {
  background: linear-gradient(90deg, #f59e0b, #d97706);
  color: white;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.portfolio-btn-inactive {
  background: linear-gradient(90deg, #fef3c7, #fde68a);
  color: #92400e;
}

.portfolio-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.portfolio-icon-active { background: rgba(255,255,255,0.2); }
.portfolio-icon-inactive { background: rgba(146, 64, 14, 0.1); }

.portfolio-badge {
  margin-left: auto;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
}

.portfolio-badge-active { background: rgba(255,255,255,0.2); }
.portfolio-badge-inactive { background: rgba(146, 64, 14, 0.15); }

/* Website Navigation */
.website-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 250px;
  overflow-y: auto;
}

.website-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.website-btn-active {
  background: linear-gradient(90deg, #8b5cf6, #7c3aed);
  color: white;
  border: none;
}

.website-btn-inactive {
  background: white;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.website-btn-inactive:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.website-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.website-icon-active { background: rgba(255,255,255,0.2); }
.website-icon-inactive { background: #f1f5f9; }

.website-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Sync Button */
.sync-box {
  margin-top: 24px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.sync-btn {
  width: 100%;
  font-size: 14px;
  color: #7c3aed;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
}

.sync-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Sidebar Footer */
.sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-footer-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #475569;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}

.sidebar-footer-btn:hover { background: #f1f5f9; }

/* ============================================
   MOBILE OVERLAY
   ============================================ */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 40;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
  margin-left: 280px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: margin-left 0.3s ease;
}

/* Header */
.header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #e2e8f0;
  background: white;
  gap: 16px;
  flex-wrap: wrap;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.mobile-menu-btn {
  padding: 10px 12px;
  background: #f1f5f9;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: none;
  font-size: 18px;
  color: #475569;
}

.header-title {
  font-size: 22px;
  font-weight: bold;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-badge {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: 20px;
  flex-shrink: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.date-toggle {
  display: flex;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 3px;
}

.date-btn {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  color: #64748b;
}

.date-btn-active {
  background: linear-gradient(90deg, #8b5cf6, #7c3aed);
  color: white;
}

.date-btn-inactive {
  background: transparent;
  color: #64748b;
}

.date-btn-inactive:hover { background: #e2e8f0; }

/* Dashboard Content */
.dashboard-content {
  flex: 1;
  overflow: auto;
  padding: 24px;
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: #64748b;
}

.empty-state p { font-size: 18px; }

/* ============================================
   KPI CARDS
   ============================================ */
.section-header {
  font-size: 18px;
  font-weight: bold;
  color: #1e293b;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
}

.section-icon-purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.section-icon-orange { background: linear-gradient(135deg, #f59e0b, #d97706); }

.kpi-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.kpi-card {
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-height: 100px;
}

.kpi-label {
  font-size: 10px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.kpi-value {
  font-size: 24px;
  font-weight: bold;
  color: white;
  margin-bottom: 6px;
}

.kpi-comparison {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.kpi-compare-text {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
}

.kpi-change {
  font-size: 10px;
  font-weight: 600;
  color: white;
  padding: 2px 6px;
  border-radius: 8px;
}

.kpi-change-up { background: rgba(16, 185, 129, 0.3); }
.kpi-change-down { background: rgba(239, 68, 68, 0.3); }
.kpi-change-neutral { background: rgba(167, 139, 250, 0.3); }

.kpi-goal {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
}

/* Gradient backgrounds for KPI cards */
.gradient-1 { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.gradient-2 { background: linear-gradient(135deg, #3b82f6, #4f46e5); }
.gradient-3 { background: linear-gradient(135deg, #f43f5e, #ec4899); }
.gradient-4 { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.gradient-5 { background: linear-gradient(135deg, #06b6d4, #0d9488); }
.gradient-6 { background: linear-gradient(135deg, #d946ef, #ec4899); }
.gradient-green { background: linear-gradient(135deg, #10b981, #059669); }

/* ============================================
   DATA TABLES
   ============================================ */
.table-container {
  background: white;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 24px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th {
  padding: 12px 14px;
  font-weight: 600;
  text-align: center;
}

.data-table td {
  padding: 12px 14px;
  text-align: center;
}

/* Table Headers */
.table-header-default { background: linear-gradient(90deg, #1e293b, #334155); }
.table-header-portfolio { background: linear-gradient(90deg, #d97706, #b45309); }

.table-header-default th { color: white; }
.table-header-portfolio th { color: white; }

.th-metric { min-width: 140px; position: sticky; left: 0; z-index: 20; text-align: left !important; }
.th-goal { min-width: 80px; position: sticky; left: 140px; z-index: 20; }
.th-avg { min-width: 100px; position: sticky; left: 220px; z-index: 20; }
.th-month { min-width: 100px; }

.th-metric-default { background: #1e293b; }
.th-goal-default { background: #1e293b; }
.th-avg-default { background: #334155; }

.th-metric-portfolio { background: #d97706; }
.th-goal-portfolio { background: #d97706; }
.th-avg-portfolio { background: #b45309; }

/* Table Body */
.td-metric {
  font-weight: 600;
  color: #1e293b;
  position: sticky;
  left: 0;
  z-index: 10;
  text-align: left !important;
}

.td-goal {
  position: sticky;
  left: 140px;
  z-index: 10;
}

.td-avg {
  font-weight: bold;
  position: sticky;
  left: 220px;
  z-index: 10;
}

.td-value { font-weight: 500; }

.row-even { background: #ffffff; }
.row-odd { background: #f8fafc; }

.avg-even { background: #f1f5f9; }
.avg-odd { background: #e2e8f0; }

.goal-met {
  background: #d1fae5 !important;
  color: #047857 !important;
}

.goal-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 20px;
  font-weight: 600;
  display: inline-block;
}

.goal-badge-min { background: #d1fae5; color: #047857; }
.goal-badge-max { background: #fee2e2; color: #b91c1c; }

.goal-unlimited { color: #94a3b8; font-size: 12px; }

/* ============================================
   PLATFORM TABLES
   ============================================ */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.platform-card {
  background: white;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.platform-header {
  padding: 14px 18px;
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.platform-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* Platform Colors */
.platform-google { background: linear-gradient(90deg, #2563eb, #1d4ed8); }
.platform-meta { background: linear-gradient(90deg, #db2777, #e11d48); }
.platform-bing { background: linear-gradient(90deg, #7c3aed, #6d28d9); }
.platform-tiktok { background: linear-gradient(90deg, #1e293b, #0f172a); }
.platform-amazon { background: linear-gradient(90deg, #f59e0b, #d97706); }
.platform-default { background: linear-gradient(90deg, #475569, #334155); }

.platform-table-header-google { background: #eff6ff; }
.platform-table-header-meta { background: #fdf2f8; }
.platform-table-header-bing { background: #f5f3ff; }
.platform-table-header-tiktok { background: #f8fafc; }
.platform-table-header-amazon { background: #fffbeb; }
.platform-table-header-default { background: #f8fafc; }

.platform-table th {
  padding: 10px 12px;
  font-weight: 600;
  text-align: center;
  color: #475569;
  font-size: 12px;
  background: #f8fafc;
}

.platform-table td {
  padding: 10px 12px;
  text-align: center;
  font-size: 12px;
}

.platform-th-metric { min-width: 120px; position: sticky; left: 0; z-index: 10; text-align: left !important; }
.platform-th-goal { min-width: 70px; position: sticky; left: 120px; z-index: 10; }
.platform-th-avg { min-width: 90px; position: sticky; left: 190px; z-index: 10; }
.platform-th-month { min-width: 90px; }

.platform-td-metric {
  font-weight: 500;
  color: #1e293b;
  position: sticky;
  left: 0;
  z-index: 10;
  text-align: left !important;
}

.platform-td-goal {
  position: sticky;
  left: 120px;
  z-index: 10;
}

.platform-td-avg {
  font-weight: bold;
  position: sticky;
  left: 190px;
  z-index: 10;
}

.platform-goal-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
}

.platform-goal-unlimited { color: #cbd5e1; font-size: 11px; }

/* ============================================
   ADMIN PANEL
   ============================================ */
.admin-container {
  min-height: 100vh;
  background: #f8fafc;
  display: flex;
}

.admin-content {
  padding: 24px;
}

.admin-title {
  font-size: 28px;
  font-weight: bold;
  color: #1e293b;
  margin-bottom: 24px;
}

/* Add Client Form */
.add-client-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.add-client-header {
  color: #1e293b;
  font-weight: bold;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.add-icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10b981, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
}

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.btn-generate {
  background: linear-gradient(90deg, #10b981, #059669);
  color: white;
  padding: 10px 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

.btn-generate:hover {
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Client List */
.client-list-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
}

.client-list-header {
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  background: linear-gradient(90deg, #f5f3ff, #fdf4ff);
}

.client-list-header h3 {
  font-weight: bold;
  color: #1e293b;
}

.client-empty {
  padding: 48px;
  text-align: center;
  color: #64748b;
}

.client-item {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  flex-shrink: 0;
}

.client-avatar-purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.client-avatar-blue { background: linear-gradient(135deg, #3b82f6, #4f46e5); }

.client-name { font-weight: 600; color: #1e293b; font-size: 14px; }
.client-email { font-size: 13px; color: #64748b; }

.client-details {
  display: flex;
  align-items: center;
  gap: 16px;
}

.password-section label {
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 4px;
  display: block;
}

.password-display {
  display: flex;
  align-items: center;
  gap: 8px;
}

.password-code {
  font-size: 12px;
  background: #f1f5f9;
  padding: 4px 8px;
  border-radius: 6px;
  color: #475569;
  font-family: monospace;
}

.password-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  font-size: 14px;
}

.website-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.website-tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  background: #ede9fe;
  color: #6d28d9;
  font-weight: 500;
}

/* Loading Spinner */
.loading-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #581c87 50%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-content { text-align: center; }
.loading-logo { width: 80px; height: 80px; animation: pulse 2s infinite; }
.loading-text {
  margin-top: 24px;
  color: rgba(255,255,255,0.8);
  font-size: 18px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablet - 1024px */
@media (max-width: 1024px) {
  .platform-grid {
    grid-template-columns: 1fr;
  }
  
  .kpi-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

/* Mobile - 768px */
@media (max-width: 768px) {
  /* Sidebar */
  .sidebar {
    transform: translateX(-100%);
  }
  
  .sidebar.sidebar-open,
  .sidebar-open {
    transform: translateX(0);
  }
  
  .sidebar-close {
    display: block;
  }
  
  .sidebar-hidden {
    transform: translateX(-100%);
  }
  
  /* Mobile Overlay */
  .mobile-overlay {
    display: block;
  }
  
  /* Main Content */
  .main-content {
    margin-left: 0;
  }
  
  /* Header */
  .mobile-menu-btn {
    display: block;
  }
  
  .header {
    padding: 12px 16px;
  }
  
  .header-title {
    font-size: 16px;
  }
  
  .header-right {
    width: 100%;
    justify-content: space-between;
  }
  
  .date-btn {
    padding: 6px 10px;
    font-size: 12px;
  }
  
  /* Dashboard Content */
  .dashboard-content {
    padding: 16px;
  }
  
  /* KPI Cards */
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .kpi-card {
    padding: 12px 16px;
    min-height: 90px;
  }
  
  .kpi-value {
    font-size: 20px;
  }
  
  .section-header {
    font-size: 15px;
  }
  
  /* Tables - Reduced sticky column widths */
  .th-metric, .td-metric { min-width: 120px; }
  .th-goal, .td-goal { min-width: 70px; left: 120px; }
  .th-avg, .td-avg { min-width: 90px; left: 190px; }
  
  .platform-th-metric, .platform-td-metric { min-width: 100px; }
  .platform-th-goal, .platform-td-goal { min-width: 60px; left: 100px; }
  .platform-th-avg, .platform-td-avg { min-width: 80px; left: 160px; }
  
  .data-table th, .data-table td {
    padding: 10px 12px;
    font-size: 12px;
  }
  
  /* Admin Panel */
  .client-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .client-details {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-top: 12px;
  }
  
  .form-row {
    flex-direction: column;
  }
  
  .admin-content {
    padding: 16px;
  }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
  .kpi-grid {
    grid-template-columns: 1fr;
  }
  
  .kpi-card {
    min-height: 80px;
  }
  
  .kpi-value {
    font-size: 22px;
  }
  
  .header-right {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  
  .date-toggle {
    justify-content: center;
  }
  
  .select-input {
    font-size: 13px;
  }
  
  .login-card {
    padding: 24px;
  }
  
  .login-title {
    font-size: 24px;
  }
}