/* Custom Modern & Minimalist Theme for ROYAL APP */
:root {
  --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  --card-bg: rgba(255, 255, 255, 0.95);
  --card-glass: rgba(30, 41, 59, 0.7);
  --accent-primary: #3b82f6;
  --accent-hover: #2563eb;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-subtle: rgba(226, 232, 240, 0.8);
  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  --shadow-glow: 0 20px 35px -10px rgba(59, 130, 246, 0.25);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-gradient);
  min-height: 100vh;
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glass-card:hover {
  box-shadow: var(--shadow-glow);
}

.form-control-modern, .form-select-modern {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: #1e293b;
  transition: all 0.2s ease;
}

.form-control-modern:focus, .form-select-modern:focus {
  background-color: #ffffff;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
  outline: none;
}

.btn-modern {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
}

.btn-modern:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.4);
}

.table-minimal {
  border-collapse: separate;
  border-spacing: 0 8px;
}

.table-minimal tbody tr {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  border-radius: var(--radius-md);
  transition: transform 0.15s ease;
}

.table-minimal tbody tr:hover {
  transform: scale(1.005);
}

.table-minimal td, .table-minimal th {
  padding: 1rem;
  border: none;
}

.table-minimal td:first-child { border-radius: var(--radius-md) 0 0 var(--radius-md); }
.table-minimal td:last-child { border-radius: 0 var(--radius-md) var(--radius-md) 0; }