/* public/css/rad-style.css */

/* ---------- Theme Variables ---------- */
:root {
  --rad-bg: #f8fafc;
  --rad-panel-bg: #ffffff;
  --rad-border: #e6e6e6;
  --rad-muted: #6b7280;
  --rad-primary: #06ad4c;
  --rad-accent: #0b93ff;
  --rad-text: #111827;
}

/* ---------- Body Wrapper ---------- */
body .rad-admin-wrap {
  background: transparent;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Topbar ---------- */
.rad-admin-topbar {
  background: var(--rad-panel-bg);
  border-bottom: 1px solid var(--rad-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
}
.rad-admin-topbar h1 {
  font-size: 22px;
  font-weight: 600;
  color: var(--rad-text);
}
.rad-admin-topbar div {
  color: var(--rad-muted);
  font-size: 14px;
}

/* ---------- Sidebar ---------- */
.rad-sidebar {
  width: 260px;
}
.rad-sidebar-card {
  background: var(--rad-panel-bg);
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--rad-border);
}
.rad-sidebar-card nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rad-sidebar-card li {
  margin: 4px 0;
}
.rad-sidebar-card li strong,
.rad-sidebar-card li[style*="font-weight:700"] {
  display: block;
  margin-top: 8px;
  font-weight: 700;
  color: #374151;
}
.rad-side-link {
  display: block;
  padding: 8px 10px;
  color: #374151;
  text-decoration: none;
  border-radius: 6px;
  margin: 4px 0;
  transition: all 0.15s ease;
}
.rad-side-link:hover {
  background: #f3f4f6;
  color: var(--rad-text);
}
.rad-side-link.active {
  background: #eef2ff;
  color: #3730a3;
  font-weight: 600;
}

/* ---------- Main Content ---------- */
.rad-content {
  min-height: 400px;
}

/* ---------- Panels ---------- */
.rad-panel {
  background: var(--rad-panel-bg);
  border-radius: 8px;
  padding: 18px;
  border: 1px solid var(--rad-border);
  box-shadow: 0 6px 18px rgba(2,6,23,0.03);
  margin-bottom: 16px;
}

/* ---------- Forms ---------- */
.rad-form label {
  display: block;
  margin-top: 10px;
  margin-bottom: 6px;
  color: #374151;
  font-weight: 600;
  font-size: 13px;
}
.rad-input,
.rad-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  box-sizing: border-box;
  font-size: 14px;
}
.rad-btn {
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--rad-primary);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: inline-block;
  margin-top: 12px;
  transition: all 0.2s ease;
}
.rad-btn:hover {
  background: #059142;
}
.rad-btn.small {
  padding: 7px 10px;
  font-size: 13px;
  background: var(--rad-accent);
  border: 0;
  color: #fff;
}
.rad-btn.small:hover {
  background: #097dd1;
}
.rad-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

/* ---------- Messages ---------- */
.rad-message {
  margin-top: 12px;
  min-height: 20px;
  color: #374151;
}

/* ---------- Overview Cards ---------- */
.rad-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.rad-date {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
}
.rad-status {
  margin-left: 10px;
  color: var(--rad-muted);
  font-size: 13px;
}
.rad-cards-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: stretch;
  margin-top: 12px;
}
.rad-card {
  flex: 1 1 220px;
  min-width: 160px;
  background: var(--rad-panel-bg);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(2,6,23,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.1s ease;
}
.rad-card:hover {
  transform: translateY(-2px);
}
.rad-card-label {
  font-size: 14px;
  color: var(--rad-muted);
  margin-bottom: 10px;
}
.rad-card-value {
  font-size: 28px;
  font-weight: 700;
}

/* Card color accents */
.rad-blue .rad-card-value { color: #2563eb; }
.rad-green .rad-card-value { color: #16a34a; }
.rad-teal .rad-card-value { color: #0ea5a4; }
.rad-orange .rad-card-value { color: #f97316; }
.rad-gold .rad-card-value { color: #b45309; }
.rad-red .rad-card-value { color: #dc2626; }
.rad-gray .rad-card-value { color: #374151; }

/* ---------- Tables ---------- */
.rad-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
.rad-table th,
.rad-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
  font-size: 14px;
}
.rad-table th {
  background: #f9fafb;
  color: #374151;
  font-weight: 600;
}
.rad-table tr:hover {
  background: #f8fafc;
}

/* ---------- Sidebar Active Highlight ---------- */
.rad-sidebar .rad-side-link.active {
  background: #eef2ff;
  border-left: 4px solid #4338ca;
  color: #3730a3;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .rad-admin-body {
    flex-direction: column;
  }
  .rad-sidebar {
    width: 100%;
    margin-bottom: 12px;
  }
  .rad-cards-wrap {
    flex-direction: column;
  }
  


}
