/* ==========================================================
   Pra4: Modern Design System & Custom UI Framework
   ========================================================== */

:root {
  --pra-primary: #2563eb;
  --pra-primary-dark: #1d4ed8;
  --pra-primary-light: #60a5fa;
  --pra-secondary: #0f172a;
  --pra-accent: #7c3aed;
  --pra-success: #10b981;
  --pra-warning: #f59e0b;
  --pra-danger: #ef4444;
  --pra-dark-bg: #0b0f19;
  --pra-dark-card: #131b2e;
  --pra-border: rgba(255, 255, 255, 0.08);
  --pra-text-muted: #94a3b8;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #0f172a;
  background-color: #f8fafc;
  -webkit-font-smoothing: antialiased;
}

/* Glassmorphism Cards */
.pra-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pra-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
}

.pra-card-dark {
  background: var(--pra-dark-card);
  border: 1px solid var(--pra-border);
  border-radius: 16px;
  color: #f1f5f9;
}

/* Modern Gradient Buttons */
.btn-pra-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border: none;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 20px;
  transition: all 0.2s ease;
}

.btn-pra-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.btn-pra-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border: none;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 20px;
  transition: all 0.2s ease;
}

.btn-pra-success:hover {
  background: linear-gradient(135deg, #059669, #047857);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

/* Badges */
.badge-soft-primary {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  font-weight: 600;
}

.badge-soft-success {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-weight: 600;
}

.badge-soft-warning {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
  font-weight: 600;
}

.badge-soft-purple {
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
  font-weight: 600;
}

.badge-soft-danger {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  font-weight: 600;
}

/* Layout Utilities */
.pra-hero {
  background: radial-gradient(circle at 50% 20%, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.pra-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

/* Sidebar Styles */
.pra-sidebar {
  width: 250px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  z-index: 1000;
}

.pra-sidebar-dark {
  background: #0f172a;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
}

.pra-main {
  margin-left: 250px;
  min-height: 100vh;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
}

@media (max-width: 991px) {
  .pra-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .pra-sidebar.show {
    transform: translateX(0);
  }
  .pra-main {
    margin-left: 0;
  }
}
