/* Importar tipografía moderna */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Paleta Dino: azules oscuros y acentos claros */
  --bg-page: #0E1116;
  --bg-card: #1A1F26;
  --text-primary: #F5F5F5;
  --text-secondary: #A0A8B5;
  --accent: #4BA3C3;
  --shadow: rgba(0, 0, 0, 0.5);
  --radius: 12px;
  --font-family: 'Inter', sans-serif;
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Estilos generales del body */
html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg-page);
  font-family: var(--font-family);
  color: var(--text-primary);
  overflow: hidden;
}

/* -------- Login Styles -------- */
body.login-page {
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-card {
  background-color: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px var(--shadow);
  width: 360px;
  text-align: center;
}

.login-card h1 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.login-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

#buttonDiv {
  display: flex;
  justify-content: center;
}

.footer-text {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.footer-text a {
  color: var(--accent);
  text-decoration: none;
}

.footer-text a:hover {
  text-decoration: underline;
}

/* Particle background */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

@keyframes float {
  0%, 100% { transform: translateY(-100vh) rotate(0deg); }
  50%       { transform: translateY(100vh)  rotate(180deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0);     }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #00d4ff;
  border-radius: 50%;
  opacity: 0.6;
  animation: float 30s linear infinite;
}

/* -------- Dashboard Styles -------- */
body.dashboard-page {
  /* Dashboard ocupa toda la pantalla */
}

.embed-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.embed-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
