/* Main Stylesheet */
/* Extracted from HTML inline styles */

/* Base Styles */
body {
  background-color: #000000;
  color: #e5e5e5;
  overflow-x: hidden;
}

/* Center Container */
.center-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Background */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(56, 189, 248, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(129, 140, 248, 0.05) 0%,
      transparent 40%
    );
  z-index: -1;
}

/* Glass Panel */
.glass-panel {
  background: rgba(17, 17, 17, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color, #222);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.glass-panel:hover {
  border-color: #333;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
}

/* Text Gradients */
.text-gradient {
  background: linear-gradient(to right, #ffffff, #a3a3a3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-blue {
  background: linear-gradient(135deg, #7dd3fc, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Dashboard Styles */
.dashboard-bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(56, 189, 248, 0.05) 0%,
    transparent 60%
  );
  z-index: -1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Auth Background */
.auth-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(56, 189, 248, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 85% 85%,
      rgba(129, 140, 248, 0.05) 0%,
      transparent 40%
    );
  z-index: -1;
}

/* Mesh Grid */
.mesh-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: -1;
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

/* Input Autofill Fix */
input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #0a0a0a inset !important;
  -webkit-text-fill-color: white !important;
}

/* Article Content */
.article-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: #d1d5db;
}

.article-content h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.article-content h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: #d1d5db;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content a {
  color: #38bdf8;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s;
}

.article-content a:hover {
  color: #7dd3fc;
}

/* Article Blockquote */
.article-content blockquote {
  border-left: 4px solid #38bdf8;
  background: linear-gradient(to right, rgba(56, 189, 248, 0.05), transparent);
  padding: 1.5rem;
  border-radius: 0 0.75rem 0.75rem 0;
  margin: 2rem 0;
  font-style: italic;
  color: #9ca3af;
}

/* Article Background */
.article-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 70vh;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(56, 189, 248, 0.08) 0%,
      transparent 60%
    ),
    linear-gradient(to bottom, transparent, #000000);
  z-index: -1;
}

/* Flash Messages */
.flash-message {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 1000;
  max-width: 400px;
}

.flash-success {
  background: rgba(34, 197, 94, 0.9);
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  border-left: 4px solid #22c55e;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease-out;
}

.flash-error {
  background: rgba(239, 68, 68, 0.9);
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  border-left: 4px solid #ef4444;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Loading Spinner */
.spinner {
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid #38bdf8;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Form Validation */
input:invalid,
textarea:invalid {
  border-color: #ef4444;
}

input:valid,
textarea:valid {
  border-color: #22c55e;
}

/* Responsive Utilities */
@media (max-width: 768px) {
  .hero-bg {
    background:
      radial-gradient(
        circle at 50% 0%,
        rgba(56, 189, 248, 0.15) 0%,
        transparent 50%
      ),
      radial-gradient(
        circle at 80% 50%,
        rgba(129, 140, 248, 0.08) 0%,
        transparent 40%
      );
  }
}
