/* Fuente futurista */
body {
  font-family: 'Orbitron', sans-serif;
  background: #0d1117;
  color: #e0e0e0;
  margin: 0;
  padding: 0;
}

/* Cabecera */
header {
  text-align: center;
  padding: 1rem;
  background: #161b22;
  border-bottom: 2px solid #00c6ff;
  position: relative;
  z-index: 1;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
  color: #00c6ff;
}

header p {
  margin: 0.5rem 0;
  font-size: 1.2rem;
  color: #9baec8;
}
#logoutBtn {
  display: inline-block;
  padding: 8px 14px;
  background: #ff5252;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 10px;
  z-index: 9999;
  position: absolute;
  top: 10px;
  right: 10px;
}

/* Banderas selector idioma */
#language-flags {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.flag {
  width: 64px;
  height: 64px;
  cursor: pointer;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 6px rgba(0,198,255,0.3);
}

.flag:hover {
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(0,198,255,0.6);
}

.flag.active {
  box-shadow: 0 0 16px rgba(0,198,255,0.9);
  outline: 2px solid #00c6ff;
}

/* Responsive banderas */
@media (max-width: 600px) {
  .flag {
    width: 48px;
    height: 48px;
  }

  #language-flags {
    gap: 1rem;
  }
}

/* Calendario */
#calendar {
  max-width: 90%;
  margin: 2rem auto;
  background: #161b22;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 0 25px rgba(0,198,255,0.4);
}

/* Secciones */
section {
  max-width: 90%;
  margin: 2rem auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,198,255,0.3);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 0 15px rgba(0,198,255,0.3);
}

section h2 {
  color: #00c6ff;
  margin-top: 0;
}

section form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

section form input, section form button {
  padding: 0.5rem;
  border-radius: 6px;
  border: none;
  font-family: 'Orbitron', sans-serif;
}

section form input {
  flex: 1;
  background: #0d1117;
  color: #e0e0e0;
  border: 1px solid rgba(0,198,255,0.4);
}

section form button {
  background: #00c6ff;
  color: #0d1117;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease;
}

section form button:hover {
  background: #0099cc;
}

section ul {
  list-style: none;
  padding: 0;
}

section ul li {
  padding: 0.5rem;
  border-bottom: 1px solid rgba(0,198,255,0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

section ul li:last-child {
  border-bottom: none;
}

section ul li button {
  background: transparent;
  border: none;
  color: #ff5252;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

section ul li button:hover {
  color: #ff7777;
}

/* Modal futurista */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
}

.modal-content {
  background: rgba(20, 30, 40, 0.95);
  margin: 10% auto;
  padding: 2rem;
  border: 1px solid #00c6ff;
  border-radius: 12px;
  width: 60%;
  color: #e0e0e0;
  box-shadow: 0 0 25px rgba(0,198,255,0.6);
  animation: fadeIn 0.4s ease;
}

.close {
  color: #ff5252;
  float: right;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #ff7777;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #161b22;
  border-top: 2px solid #00c6ff;
  color: #9baec8;
}
