@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --glass-bg: rgba(17, 24, 39, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.03);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #020617; /* Slate 950 */
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(20, 184, 166, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(56, 189, 248, 0.08), transparent 25%);
  background-attachment: fixed;
  color: #f8fafc;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
}

.hidden {
  display: none !important;
}

/* Custom Webkit Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(2, 6, 23, 0.5); 
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1); 
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(20, 184, 166, 0.5); 
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-panel-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(20, 184, 166, 0.2);
}

/* Form Inputs */
.glass-input {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  transition: all 0.2s ease;
}
.glass-input:focus {
  outline: none;
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
  background: rgba(15, 23, 42, 0.8);
}

/* Gradient Text */
.text-gradient {
  background: linear-gradient(135deg, #2dd4bf, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #0f766e, #0d9488);
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
  transition: all 0.3s ease;
}
.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #115e59, #0f766e);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
  transform: translateY(-1px);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  transition: all 0.3s ease;
}
.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}
.btn-danger {
  background: rgba(225, 29, 72, 0.1);
  border: 1px solid rgba(225, 29, 72, 0.3);
  color: #fda4af;
  transition: all 0.3s ease;
}
.btn-danger:hover:not(:disabled) {
  background: rgba(225, 29, 72, 0.2);
  border-color: rgba(225, 29, 72, 0.5);
  transform: translateY(-1px);
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Status Dots */
.status-dot {
  position: relative;
}
.status-dot::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  background: inherit;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  z-index: -1;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(2); opacity: 0; }
}

/* Table styles */
.glass-table th {
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #94a3b8;
}
.glass-table td {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.glass-table tr:last-child td {
  border-bottom: none;
}

/* Dropdown Options */
option {
  background-color: #0f172a;
  color: #f8fafc;
}
