/* Global font */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* =========================================
    LOGIN VIEW STYLES (DARK)
    ========================================= */
.login-container {
  background-color: #1e1d2b; /* Force dark background for login only */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.bg-blob {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(128px);
  opacity: 0.2;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: screen;
}
.blob-pink { top: -8rem; left: -8rem; background-color: #d438a5; }
.blob-cyan { top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: #48caf0; }
.blob-purple { bottom: -8rem; right: -8rem; background-color: #6c48e8; }

.glass-card {
  background: rgba(25, 24, 38, 0.6);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 2rem;
  width: 100%;
  max-width: 28rem;
  z-index: 10;
}

.brand-gradient {
  background: linear-gradient(90deg, #d438a5, #6c48e8, #48caf0);
  background-size: 200% 200%;
  animation: gradient-shift 5s ease infinite;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.brand-gradient:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(108,72,232,0.4);
}

.logo-text {
  font-weight: 800;
  letter-spacing: -1.5px;
  text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.8);
  font-size: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.25rem;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.input-dark {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  width: 100%;
  outline: none;
  transition: all 0.2s;
}
.input-dark:focus {
  border-color: #6c48e8;
  box-shadow: 0 0 10px rgba(108, 72, 232, 0.5);
}

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.tracking-widest { letter-spacing: 0.2em; }

/* =========================================
    PREMIUM DASHBOARD STYLES (LIGHT NETPLAYGO BRAND)
    ========================================= */

/* Global Dashboard Background */
body {
  background-color: #f4f6f9; 
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(212, 56, 165, 0.03), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(108, 72, 232, 0.03), transparent 25%);
  background-attachment: fixed;
  color: #334155;
}

/* Cards Premium Light */
.card {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border-radius: 1rem;
  overflow: hidden;
}
.card-header {
  background: rgba(0, 0, 0, 0.02) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #1e293b;
  padding: 1rem 1.25rem;
}

/* Buttons Styling (Keep the beautiful gradient) */
.btn-primary {
  background: linear-gradient(90deg, #d438a5, #6c48e8) !important;
  border: none !important;
  color: white !important;
  box-shadow: 0 2px 10px rgba(108, 72, 232, 0.2);
  border-radius: 0.5rem;
  transition: all 0.2s ease-in-out;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 56, 165, 0.3);
  color: white !important;
}
.btn-outline-primary {
  color: #6c48e8 !important;
  border-color: #6c48e8 !important;
}
.btn-outline-primary:hover {
  background-color: rgba(108, 72, 232, 0.05) !important;
}
.btn-outline-success {
  color: #10b981 !important;
  border-color: #10b981 !important;
}
.btn-outline-success:hover {
  background-color: rgba(16, 185, 129, 0.1) !important;
}

/* Navigation Tabs Styling */
.nav-tabs {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
  gap: 0.5rem;
}
.nav-tabs .nav-link {
  color: #64748b;
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  transition: all 0.2s;
}
.nav-tabs .nav-link:hover {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.02);
  border: none;
}
.nav-tabs .nav-link.active {
  background: rgba(108, 72, 232, 0.08) !important;
  color: #6c48e8 !important;
  border: 1px solid rgba(108, 72, 232, 0.2) !important;
  box-shadow: none;
}

/* Tables Premium Styling */
.table {
  color: #334155;
  border-collapse: separate;
  border-spacing: 0;
}
.table thead th {
  background-color: rgba(0, 0, 0, 0.02) !important;
  color: #475569;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  padding: 1rem;
}
.table td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.03) !important;
  padding: 1rem;
  vertical-align: middle;
}
.table-hover > tbody > tr:hover > * {
  background-color: rgba(108, 72, 232, 0.03) !important;
}

/* Inputs and Forms */
.form-control, .form-select {
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  color: #1e293b !important;
  border-radius: 0.5rem;
}
.form-control:focus, .form-select:focus {
  border-color: #6c48e8 !important;
  box-shadow: 0 0 0 0.25rem rgba(108, 72, 232, 0.15) !important;
}
.form-label {
  color: #475569;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Modals */
.modal-content {
  background: #ffffff !important;
  border: none !important;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}
.modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Dashboard Headers */
h2 {
  font-weight: 800;
  background: linear-gradient(90deg, #d438a5, #6c48e8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
