/* ==========================================
   css/dark-mde.css BOTON DEL MODO OSCURO
========================================== */
.dark-btn {
  height: 50px;
  width: 50px;
  background: none;
  border: 2px solid #141827;
  border-radius: 50%;
  color: white;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 18px;
  margin-left: 10px;
  transition: 0.3s;
  position: fixed;
  right: 20px;
  bottom: 20px;
}
.dark-btn:hover {
  background: rgba(20, 24, 39,0.4);
  border-radius: 50%;
}
/* =========================================================
   MODO OSCURO GLOBAL
========================================================= */
body.dark-mode .dark-btn{
    border: 2px solid white;
}
body.dark-mode .dark-btn:hover{
  background: rgba(255,255,255,0.2);
}
body.dark-mode {
    background-color: #0d0f18;
    color: #e4e6eb;
}

/* ======================= HEADER ========================= */
body.dark-mode .header {
    background: #050a1f;
    color: white;
}

body.dark-mode .menu a {
    color: #cdd3f0;
}

body.dark-mode .menu a:hover {
    color: #66b3ff;
}

body.dark-mode .menu {
    background: #050a1f;
}

body.dark-mode .menu-btn {
    color: white;
}

/* ======================= BOTONES ========================= */
body.dark-mode .btn {
    background-color: #11245a;
    color: white;
}

body.dark-mode .btn:hover {
    background-color: #1a2f70;
}

body.dark-mode .logout {
    background: #9b2d2d;
}

body.dark-mode .logout:hover {
    background: #d14646;
}

/* ======================= CALENDARIO ========================= */

body.dark-mode .calendar {
    background: #141827;
    color: #e4e6eb;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}

body.dark-mode .calendar-header {
    background-color: #11245a;
    color: white;
}

body.dark-mode .calendar-header button {
    background: #0d0f18;
    color: #e4e6eb;
}

body.dark-mode .calendar-header button:hover {
    background: #2b3357;
}

body.dark-mode .calendar-grid div {
    background: #1a1f33;
    color: #e4e6eb;
}

body.dark-mode .calendar-grid div:hover {
    border: 3px solid #4f6db9;
}

body.dark-mode .calendar-grid .today {
    border: 4px solid #6f84c0;
    box-shadow: 0 0 12px rgba(111, 132, 192, 0.7);
}

body.dark-mode .weekdays {
    color: #bfc9ff;;
}

/* ======================= MODAL ========================= */
body.dark-mode .modal-content {
    background: #1c2031;
    color: #e4e6eb;
}

body.dark-mode .evento-item {
    background: #181b28;
    border-color: #3a3f55;
}

body.dark-mode .evento-titulo {
    background: #11245a;
}

body.dark-mode .evento-titulo:hover {
    background: #0f1e47;
}

body.dark-mode .evento-desc {
    color: #d0d2dc;
}

body.dark-mode .overlay {
    background: rgba(0,0,0,0.6);
}

/* ======================= LOGIN ========================= */
body.dark-mode .box {
    background: #121623;
    color: #e4e6eb;
}

body.dark-mode .box input {
    background: #0d0f18;
    color: #e4e6eb;
    border: 2px solid #4f6db9;
}

body.dark-mode .msg.error {
    background: #3a1b1b;
    color: #ffb3b3;
}

body.dark-mode .success-msg {
    background: #103d20;
    border-left-color: #27c954;
    color: #d0ffe2;
}
body.dark-mode h2 {
    color: #bfc9ff;
}

body.dark-mode h3 {
    color: #cfd5f3;
}

/* ======================= PERFIL ========================= */

body.dark-mode .perfil-box {
    background: #141827;
    color: #e4e6eb;
}

body.dark-mode .perfil-foto img {
    border-color: #4f6db9;
}

body.dark-mode .perfil-box h2 {
    color: #bfc9ff;
}

body.dark-mode .perfil-box h3 {
    color: #cfd5f3;
}
/* ======================= INDEX ========================= */

body.dark-mode .hero{
    background: #141827;
    color: #e4e6eb;
}
body.dark-mode .video-section{
    background: #141827;
    color: #e4e6eb;
}

body.dark-mode .video-info{
    background: #141827;
    color: #e4e6eb;
}
body.dark-mode .contacto{
    background-color: #0d0f18;
    color: #e4e6eb;
}
body.dark-mode footer {
    background: #050a1f;
    color: white;
}