.admin-sidebar {
  width: 240px;
  min-height: 100vh;
  background: #0a0a0f;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
}

.admin-sidebar-logo {
  padding: 20px 20px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #E8593C, #d44a2f);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
}

.admin-logo-text {
  font-size: 16px;
  font-weight: 600;
  color: #f0f0f5;
}

.admin-logo-badge {
  font-size: 10px;
  font-weight: 600;
  color: #E8593C;
  background: rgba(232, 89, 60, 0.1);
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid rgba(232, 89, 60, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-sidebar-nav {
  flex: 1;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #8b8b9e;
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: 'DM Sans', system-ui, sans-serif;
  text-align: left;
  width: 100%;
}

.admin-nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #c8c8d8;
}

.admin-nav-item.active {
  background: rgba(232, 89, 60, 0.08);
  color: #E8593C;
}

.admin-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  font-size: 16px;
}

.admin-sidebar-footer {
  padding: 12px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ═══ RESPONSIVE MOBILE ═══ */
@media (max-width: 768px) {
  .admin-sidebar {
    display: none;
  }
}
@media (min-width: 769px) {
  .admin-bottom-nav {
    display: none !important;
  }
}

.admin-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0a0a0f;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0 20px;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.admin-bottom-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  font-family: 'DM Sans', system-ui, sans-serif;
  position: relative;
}
.admin-bottom-nav button .nav-icon {
  color: #8b8b9e;
  transition: color 0.2s;
}
.admin-bottom-nav button.active .nav-icon {
  color: #E8593C;
}
.admin-bottom-nav button .nav-label {
  font-size: 10px;
  font-weight: 500;
  color: #8b8b9e;
  transition: color 0.2s;
}
.admin-bottom-nav button.active .nav-label {
  font-weight: 700;
  color: #E8593C;
}
.admin-bottom-nav button .nav-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #E8593C;
  margin-top: -1px;
}
.dashboard {
  position: relative;
  max-width: 1100px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}

.dashboard-title {
  font-size: 24px;
  font-weight: 600;
  color: #f0f0f5;
  margin: 0;
}

.dashboard-subtitle {
  font-size: 14px;
  color: #6b6b80;
  margin: 4px 0 0;
}

.period-selector {
  display: flex;
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
  padding: 3px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.period-btn {
  padding: 7px 16px;
  border: none;
  background: transparent;
  color: #6b6b80;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: 'DM Sans', system-ui, sans-serif;
}

.period-btn:hover {
  color: #a0a0b5;
}

.period-btn.active {
  background: rgba(232, 89, 60, 0.12);
  color: #E8593C;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.kpi-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kpi-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

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

.revenue-icon { background: rgba(232, 89, 60, 0.1); color: #E8593C; }
.photos-icon { background: rgba(99, 102, 241, 0.1); color: #818cf8; }
.events-icon { background: rgba(245, 158, 11, 0.1); }
.photographers-icon { background: rgba(236, 72, 153, 0.1); }

.kpi-content { display: flex; flex-direction: column; }

.kpi-label {
  font-size: 12px;
  color: #6b6b80;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.kpi-value {
  font-size: 28px;
  font-weight: 700;
  color: #f0f0f5;
  line-height: 1.1;
}

.kpi-unit {
  font-size: 12px;
  color: #6b6b80;
  margin-top: 2px;
}

.kpi-change {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  align-self: flex-start;
}

.kpi-change.positive { color: #E8593C; background: rgba(232, 89, 60, 0.08); }
.kpi-change.negative { color: #ef4444; background: rgba(239, 68, 68, 0.08); }

.dashboard-bottom {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 14px;
}

.chart-card, .sales-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 20px;
}

.card-title {
  font-size: 14px;
  font-weight: 600;
  color: #c8c8d8;
  margin: 0 0 20px;
}

.chart-container {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 160px;
}

.chart-bar-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.chart-bar-bg {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.chart-bar {
  width: 70%;
  min-height: 4px;
  background: linear-gradient(to top, #d44a2f, #E8593C);
  border-radius: 4px 4px 0 0;
  transition: height 0.5s ease;
  cursor: pointer;
}

.chart-bar:hover { opacity: 0.85; }
.chart-label { font-size: 11px; color: #6b6b80; font-weight: 500; }

.sales-list { display: flex; flex-direction: column; }

.sale-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sale-item:last-child { border-bottom: none; }
.sale-info { display: flex; flex-direction: column; gap: 2px; }
.sale-event { font-size: 13px; font-weight: 500; color: #e0e0ec; }
.sale-photos { font-size: 11px; color: #6b6b80; }
.sale-amount { font-size: 14px; font-weight: 600; color: #E8593C; }
.sales-empty { font-size: 13px; color: #6b6b80; text-align: center; padding: 20px 0; }

.dashboard-loading {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 10, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  z-index: 10;
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-top-color: #E8593C;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@media (max-width: 900px) {
  .kpi-grid { grid-template-columns: repeat(5, 1fr); }
  .dashboard-bottom { grid-template-columns: 1fr; }
  .dashboard-header { flex-direction: column; gap: 16px; }
}
@media (max-width: 768px) {
  .dashboard { padding: 0; }
  .dashboard-header { margin-bottom: 16px; flex-direction: column; gap: 12px; }
  .dashboard-title { font-size: 20px; }
  .dashboard-subtitle { font-size: 12px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
  .kpi-card { padding: 14px; }
  .kpi-card:last-child { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .kpi-card:last-child .kpi-content { flex-direction: row; align-items: center; gap: 12px; }
  .kpi-value { font-size: 22px; }
  .kpi-icon { width: 30px; height: 30px; font-size: 14px; }
  .dashboard-bottom { grid-template-columns: 1fr; gap: 10px; }
  .chart-card, .sales-card { padding: 14px; }
  .period-selector { flex-wrap: nowrap; }
  .period-btn { padding: 6px 10px; font-size: 11px; }
}
.photographers-page { max-width: 1100px; }

.photo-header { margin-bottom: 24px; }
.photo-title { font-size: 24px; font-weight: 600; color: #f0f0f5; margin: 0; }
.photo-subtitle { font-size: 14px; color: #6b6b80; margin: 4px 0 0; }

.photo-filters {
  display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; align-items: center;
}

.photo-search-box {
  flex: 1; min-width: 220px; display: flex; align-items: center;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 0 14px; gap: 8px;
}

.photo-search-icon { font-size: 14px; opacity: 0.5; }

.photo-search-input {
  flex: 1; background: transparent; border: none; color: #f0f0f5;
  font-size: 14px; padding: 11px 0; outline: none;
  font-family: 'DM Sans', system-ui, sans-serif;
}

.photo-search-input::placeholder { color: #555568; }

.photo-status-filter { display: flex; gap: 2px; background: rgba(255,255,255,0.04); padding: 3px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.06); }

.filter-btn {
  padding: 7px 14px; border: none; background: transparent; color: #6b6b80;
  font-size: 13px; font-weight: 500; border-radius: 8px; cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif; transition: all 0.15s;
}

.filter-btn:hover { color: #a0a0b5; }
.filter-btn.active { background: rgba(232,89,60,0.12); color: #E8593C; }

.photo-layout { display: flex; flex-direction: column; gap: 16px; }

.photo-list-container { flex: 1; min-width: 0; }

.photo-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }

.photo-card {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 18px; cursor: pointer; transition: all 0.15s;
}

.photo-card:hover { border-color: rgba(255,255,255,0.12); }
.photo-card.selected { border-color: #E8593C; background: rgba(232,89,60,0.04); }

.photo-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }

.photo-avatar {
  width: 40px; height: 40px; border-radius: 10px; background: rgba(232,89,60,0.1);
  color: #E8593C; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; flex-shrink: 0;
}

.photo-card-info { flex: 1; min-width: 0; }
.photo-card-name { display: block; font-weight: 600; font-size: 14px; color: #f0f0f5; }
.photo-card-email { display: block; font-size: 12px; color: #6b6b80; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.photo-status-badge {
  font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px;
}

.photo-status-badge.active { color: #4ADE80; background: rgba(74,222,128,0.1); }
.photo-status-badge.inactive { color: #ef4444; background: rgba(239,68,68,0.1); }
.photo-status-badge.large { font-size: 12px; padding: 4px 14px; margin-top: 8px; }

.photo-card-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }

.photo-stat { text-align: center; }
.photo-stat-value { display: block; font-size: 14px; font-weight: 600; color: #f0f0f5; }
.photo-stat-label { display: block; font-size: 10px; color: #6b6b80; margin-top: 2px; }

.photo-loading, .photo-empty {
  text-align: center; padding: 40px; color: #6b6b80; font-size: 14px;
}

/* Detail panel */
.photo-detail-panel {
  width: 100%; background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; padding: 24px;
  position: sticky; top: 28px;
}

.detail-header { text-align: center; margin-bottom: 20px; }

.detail-avatar {
  width: 56px; height: 56px; border-radius: 14px; background: rgba(232,89,60,0.1);
  color: #E8593C; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 22px; margin: 0 auto 12px;
}

.detail-name { font-size: 18px; font-weight: 600; color: #f0f0f5; margin: 0; }
.detail-email { font-size: 13px; color: #6b6b80; margin: 4px 0 0; }
.detail-phone { font-size: 12px; color: #555568; margin: 2px 0 0; }

.detail-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }

.detail-stat-card {
  background: rgba(255,255,255,0.03); border-radius: 10px; padding: 14px; text-align: center;
}

.detail-stat-value { display: block; font-size: 20px; font-weight: 700; color: #f0f0f5; }
.detail-stat-label { display: block; font-size: 11px; color: #6b6b80; margin-top: 4px; }

.detail-info { margin-bottom: 20px; }

.detail-info-row {
  display: flex; justify-content: space-between; padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 13px; color: #8b8b9e;
}

.detail-info-row:last-child { border-bottom: none; }

.detail-events { margin-bottom: 20px; }
.detail-section-title { font-size: 14px; font-weight: 600; color: #c8c8d8; margin: 0 0 12px; }

.detail-event-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
}

.detail-event-item:last-child { border-bottom: none; }
.detail-event-name { display: block; font-size: 13px; font-weight: 500; color: #e0e0ec; }
.detail-event-date { display: block; font-size: 11px; color: #6b6b80; }
.detail-event-photos { font-size: 12px; color: #6b6b80; }

.detail-actions { display: flex; flex-direction: column; gap: 8px; }

.action-btn {
  width: 100%; padding: 11px; border-radius: 10px; border: none; font-size: 13px;
  font-weight: 600; cursor: pointer; font-family: 'DM Sans', system-ui, sans-serif;
  transition: all 0.15s;
}

.action-btn.activate { background: rgba(74,222,128,0.1); color: #4ADE80; }
.action-btn.activate:hover { background: rgba(74,222,128,0.18); }
.action-btn.deactivate { background: rgba(239,68,68,0.1); color: #ef4444; }
.action-btn.deactivate:hover { background: rgba(239,68,68,0.18); }
.action-btn.close { background: rgba(255,255,255,0.04); color: #6b6b80; }
.action-btn.close:hover { background: rgba(255,255,255,0.08); }

@media (max-width: 900px) {
  .photo-layout { flex-direction: column; }
  .photo-detail-panel { width: 100%; position: static; }
  .photo-card-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .photographers-page { padding: 0; }
  .photo-header { margin-bottom: 16px; }
  .photo-title { font-size: 20px; }
  .photo-subtitle { font-size: 12px; }
  .photo-filters { gap: 8px; margin-bottom: 14px; }
  .photo-search-box { min-width: unset; }
  .photo-search-input { font-size: 13px; padding: 10px 0; }
  .filter-btn { padding: 6px 10px; font-size: 12px; }
  .photo-card { padding: 14px; }
  .photo-card-top { margin-bottom: 10px; }
  .photo-card-stats { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .photo-detail-panel { padding: 16px; }
  .detail-avatar { width: 48px; height: 48px; font-size: 18px; margin-bottom: 10px; }
  .detail-name { font-size: 16px; }
  .detail-stats-grid { gap: 8px; }
  .detail-stat-value { font-size: 18px; }
  .detail-actions { flex-direction: row; flex-wrap: wrap; }
  .action-btn { flex: 1; min-width: 0; padding: 10px 8px; font-size: 12px; text-align: center; justify-content: center; }
}
  .photo-detail-panel { width: 100%; position: static; }
  .photo-card-stats { grid-template-columns: repeat(2, 1fr); }
}

.detail-plan-change { margin-bottom: 16px; }

.plan-buttons { display: flex; gap: 8px; }

.plan-change-btn {
  flex: 1; padding: 9px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03); color: #8b8b9e; font-size: 12px; font-weight: 600;
  cursor: pointer; font-family: 'DM Sans', system-ui, sans-serif; transition: all 0.15s;
}

.plan-change-btn:hover { background: rgba(255,255,255,0.06); color: #f0f0f5; }

.plan-change-btn.current {
  background: rgba(232,89,60,0.1); color: #E8593C; border-color: #E8593C;
  cursor: default;
}.photo-stat {
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  padding: 8px 4px;
}
.photo-card-stats {
  margin-bottom: 10px;
}
.photo-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.subscriptions-page { max-width: 1100px; }
.sub-header { margin-bottom: 24px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sub-title { font-size: 24px; font-weight: 600; color: #f0f0f5; margin: 0; }
.sub-subtitle { font-size: 14px; color: #6b6b80; margin: 4px 0 0; }

.sub-tabs {
  display: flex; gap: 2px; background: rgba(255,255,255,0.04); padding: 3px;
  border-radius: 10px; border: 1px solid rgba(255,255,255,0.06); margin-bottom: 24px; width: fit-content;
}

.sub-tab {
  padding: 8px 20px; border: none; background: transparent; color: #6b6b80;
  font-size: 13px; font-weight: 500; border-radius: 8px; cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif; transition: all 0.15s;
}

.sub-tab:hover { color: #a0a0b5; }
.sub-tab.active { background: rgba(232,89,60,0.12); color: #E8593C; }

.sub-loading { text-align: center; padding: 40px; color: #6b6b80; font-size: 14px; }

/* Plans Grid */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.plan-card {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 24px; transition: all 0.15s;
}

.plan-card:hover { border-color: rgba(255,255,255,0.12); }
.plan-card.pro { border-color: rgba(232,89,60,0.4); box-shadow: 0 0 30px rgba(232,89,60,0.06); }

.plan-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.plan-icon { font-size: 22px; }
.plan-name { font-size: 18px; font-weight: 700; }

.plan-popular {
  font-size: 9px; font-weight: 700; background: #E8593C; color: #fff;
  padding: 2px 8px; border-radius: 10px; letter-spacing: 0.5px; margin-left: auto;
}

.plan-price { margin-bottom: 20px; }
.price-value { font-size: 28px; font-weight: 700; color: #f0f0f5; }
.price-period { font-size: 14px; color: #6b6b80; }

.plan-details { display: flex; flex-direction: column; gap: 0; margin-bottom: 16px; }

.plan-detail-row {
  display: flex; justify-content: space-between; padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 13px; color: #8b8b9e;
}

.plan-detail-row:last-child { border-bottom: none; }
.plan-detail-value { font-weight: 600; color: #f0f0f5; }

.plan-users { font-size: 12px; color: #6b6b80; margin-bottom: 14px; }

.edit-plan-btn {
  width: 100%; padding: 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03); color: #8b8b9e; font-size: 13px; font-weight: 500;
  cursor: pointer; font-family: 'DM Sans', system-ui, sans-serif; transition: all 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}

.edit-plan-btn:hover { background: rgba(255,255,255,0.06); color: #f0f0f5; }

/* Edit form */
.plan-edit-form { display: flex; flex-direction: column; gap: 12px; }

.edit-field label {
  display: block; font-size: 11px; color: #6b6b80; margin-bottom: 4px; font-weight: 500;
}

.edit-field input {
  width: 100%; padding: 10px 12px; background: #0B0B0F; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px; color: #f0f0f5; font-size: 14px; outline: none;
  font-family: 'DM Sans', system-ui, sans-serif; box-sizing: border-box;
}

.edit-field input:focus { border-color: #E8593C; }

.toggle-btn {
  padding: 8px 16px; border-radius: 8px; border: none; font-size: 13px;
  font-weight: 600; cursor: pointer; font-family: 'DM Sans', system-ui, sans-serif;
}

.toggle-btn.on { background: rgba(74,222,128,0.1); color: #4ADE80; }
.toggle-btn.off { background: rgba(239,68,68,0.1); color: #ef4444; }

.edit-actions { display: flex; gap: 8px; margin-top: 4px; }

.save-btn {
  flex: 1; padding: 10px; border-radius: 8px; border: none; background: #E8593C;
  color: #fff; font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif;
}

.save-btn:disabled { opacity: 0.5; }

.cancel-btn {
  padding: 10px 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.06);
  background: transparent; color: #6b6b80; font-size: 13px; font-weight: 500; cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif;
}

/* Commissions */
.commissions-section { display: block; }

.comm-period-selector {
  display: flex; gap: 2px; background: rgba(255,255,255,0.04); padding: 3px;
  border-radius: 10px; border: 1px solid rgba(255,255,255,0.06); margin-bottom: 20px; width: fit-content;
}

.comm-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }

.comm-kpi {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 22px;
}

.comm-kpi.highlight { border-color: rgba(232,89,60,0.3); background: rgba(232,89,60,0.04); }

.comm-kpi-label { display: block; font-size: 12px; color: #6b6b80; font-weight: 500; margin-bottom: 6px; }
.comm-kpi-value { display: block; font-size: 28px; font-weight: 700; color: #f0f0f5; }
.comm-kpi-unit { display: block; font-size: 12px; color: #6b6b80; margin-top: 2px; }

.comm-table-card {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 22px;
}

.comm-table-title { font-size: 14px; font-weight: 600; color: #c8c8d8; margin: 0 0 16px; }

.comm-table-header, .comm-table-row {
  display: grid; grid-template-columns: 1fr 0.7fr 0.7fr 1.2fr 1.2fr 1.2fr;
  gap: 8px; padding: 10px 0; font-size: 13px;
}

.comm-table-header {
  color: #6b6b80; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px;
}

.comm-table-row { color: #e0e0ec; border-bottom: 1px solid rgba(255,255,255,0.03); }
.comm-table-row:last-child { border-bottom: none; }

.comm-empty { text-align: center; padding: 40px; color: #6b6b80; font-size: 14px; }

.period-btn {
  padding: 7px 16px; border: none; background: transparent; color: #6b6b80;
  font-size: 13px; font-weight: 500; border-radius: 8px; cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif; transition: all 0.15s;
}

.period-btn:hover { color: #a0a0b5; }
.period-btn.active { background: rgba(232,89,60,0.12); color: #E8593C; }

@media (max-width: 900px) {
  .plans-grid { grid-template-columns: 1fr; }
  .comm-kpis { grid-template-columns: 1fr; }
  .comm-table-header, .comm-table-row { font-size: 11px; }
}.logs-page { max-width: 1100px; }
.logs-header { margin-bottom: 24px; }
.logs-title { font-size: 24px; font-weight: 600; color: #f0f0f5; margin: 0; }
.logs-subtitle { font-size: 14px; color: #6b6b80; margin: 4px 0 0; }

.logs-filters { margin-bottom: 20px; }

.logs-filter-select {
  padding: 10px 16px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; color: #f0f0f5; font-size: 13px; outline: none; cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif; color-scheme: dark;
}

.logs-list-card {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; overflow: hidden;
}

.logs-loading, .logs-empty {
  text-align: center; padding: 40px; color: #6b6b80; font-size: 14px;
}

.logs-list { display: flex; flex-direction: column; }

.log-item {
  display: flex; gap: 14px; padding: 16px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.04); transition: background 0.1s;
}

.log-item:last-child { border-bottom: none; }
.log-item:hover { background: rgba(255,255,255,0.02); }

.log-icon {
  width: 36px; height: 36px; border-radius: 10px; background: rgba(232,89,60,0.08);
  color: #E8593C; display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}

.log-content { flex: 1; min-width: 0; }

.log-action { font-size: 14px; font-weight: 500; color: #e0e0ec; margin-bottom: 4px; }

.log-meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #6b6b80; }
.log-separator { opacity: 0.4; }
.log-actor { font-weight: 500; color: #8b8b9e; }

.log-details { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }

.log-detail-tag {
  font-size: 11px; padding: 3px 8px; background: rgba(255,255,255,0.04);
  border-radius: 6px; color: #8b8b9e;
}

.logs-pagination {
  display: flex; justify-content: center; align-items: center; gap: 16px;
  padding: 16px; border-top: 1px solid rgba(255,255,255,0.04);
}

.page-btn {
  padding: 7px 16px; border: 1px solid rgba(255,255,255,0.06); background: transparent;
  color: #8b8b9e; border-radius: 8px; font-size: 12px; font-weight: 500; cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif; transition: all 0.15s;
}

.page-btn:hover:not(:disabled) { background: rgba(255,255,255,0.04); color: #f0f0f5; }
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.page-info { font-size: 12px; color: #6b6b80; }.settings-page { max-width: 800px; }

.settings-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 28px; flex-wrap: wrap; gap: 12px;
}

.settings-title { font-size: 24px; font-weight: 600; color: #f0f0f5; margin: 0; }
.settings-subtitle { font-size: 14px; color: #6b6b80; margin: 4px 0 0; }

.save-all-btn {
  padding: 10px 22px; border-radius: 10px; border: none; background: #E8593C;
  color: #fff; font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif; transition: all 0.15s;
}

.save-all-btn:hover { opacity: 0.9; }
.save-all-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.saved-badge {
  font-size: 13px; font-weight: 600; color: #4ADE80; background: rgba(74,222,128,0.1);
  padding: 6px 14px; border-radius: 8px;
}

.settings-loading { text-align: center; padding: 40px; color: #6b6b80; }

.settings-groups { display: flex; flex-direction: column; gap: 20px; }

.settings-group {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; overflow: hidden;
}

.group-header {
  display: flex; align-items: center; gap: 10px; padding: 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.group-icon { font-size: 18px; }
.group-title { font-size: 15px; font-weight: 600; color: #e0e0ec; margin: 0; }

.group-fields { display: flex; flex-direction: column; }

.setting-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px; border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: background 0.15s;
}

.setting-row:last-child { border-bottom: none; }
.setting-row:hover { background: rgba(255,255,255,0.02); }
.setting-row.modified { background: rgba(232,89,60,0.04); }

.setting-info { display: flex; flex-direction: column; gap: 2px; }
.setting-key { font-size: 13px; font-weight: 500; color: #e0e0ec; }
.setting-key-raw { font-size: 11px; color: #555568; font-family: monospace; }

.setting-input {
  width: 220px; padding: 8px 12px; background: #0B0B0F; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px; color: #f0f0f5; font-size: 13px; outline: none; text-align: right;
  font-family: 'DM Sans', system-ui, sans-serif;
}

.setting-input:focus { border-color: #E8593C; }

.setting-toggle {
  padding: 6px 14px; border-radius: 8px; border: none; font-size: 12px;
  font-weight: 600; cursor: pointer; font-family: 'DM Sans', system-ui, sans-serif;
}

.setting-toggle.on { background: rgba(74,222,128,0.1); color: #4ADE80; }
.setting-toggle.off { background: rgba(239,68,68,0.1); color: #ef4444; }

@media (max-width: 600px) {
  .setting-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .setting-input { width: 100%; text-align: left; }
}.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #06060a;
}
.admin-main {
  flex: 1;
  margin-left: 240px;
  padding: 28px 32px;
  min-height: 100vh;
}

/* ═══ RESPONSIVE MOBILE ═══ */
@media (max-width: 768px) {
  .admin-main {
    margin-left: 0;
    padding: 16px;
    padding-bottom: 90px;
    min-height: calc(100vh - 56px);
  }
  .admin-layout {
    flex-direction: column;
  }
}

.admin-mobile-header {
  display: none;
}
@media (max-width: 768px) {
  .admin-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #0a0a0f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    z-index: 50;
  }
}
