:root {
    --primary-color: #00ff00;
    --secondary-color: #008000;
    --background-color: #000000;
    --surface-color: #1a1a1a;
    --hover-color: #333333;
    --shadow-color: rgba(0, 255, 0, 0.3);
    --text-color: #ffffff;
}

/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.contenedor {
    text-align: center;
    padding: 20px;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Estilos del reloj */
#reloj {
    font-size: 4rem;
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.frase {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 40px;
}

/* Estilos de la alarma */
.alarma-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.tiempo-alarma {
    display: flex;
    gap: 20px;
    align-items: center;
}

.tiempo-input {
    background-color: var(--surface-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 2rem;
    padding: 10px;
    width: 100px;
    text-align: center;
    font-family: 'Courier New', monospace;
}

.tiempo-separador {
    color: var(--primary-color);
    font-size: 2rem;
}

/* Estilos del cronómetro */
.cronometro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#tiempo {
    font-family: 'Courier New', monospace;
    font-size: 5rem;
    color: var(--primary-color);
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 20px var(--shadow-color);
}

.controles {
    display: flex;
    gap: 15px;
}

/* Botones */
.btn {
    padding: 12px 25px;
    font-size: 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--surface-color);
    color: var(--primary-color);
    text-transform: uppercase;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--shadow-color);
}

.btn-iniciar { background-color: rgba(0, 100, 0, 0.7); }
.btn-pausar { background-color: rgba(100, 100, 0, 0.7); }
.btn-reiniciar { background-color: rgba(100, 0, 0, 0.7); }
.btn-detener { background-color: rgba(100, 0, 0, 0.7); }

/* Lista de vueltas y alarmas */
.vueltas, #listaAlarmas {
    margin-top: 20px;
    width: 100%;
    max-width: 400px;
    background-color: var(--surface-color);
    border-radius: 10px;
    padding: 15px;
}

.vuelta-item, .alarma-item {
    color: var(--primary-color);
    padding: 8px;
    border-bottom: 1px solid var(--shadow-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vuelta-item:last-child, .alarma-item:last-child {
    border-bottom: none;
}

/* Video container */
.video-container {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    position: relative;
    display: none;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 30px var(--shadow-color);
    transition: all 0.3s ease;
}

.video-container.active {
    display: block;
    opacity: 1;
    visibility: visible;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.video-container video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 20px var(--shadow-color);
    margin-bottom: 15px;
    display: block;
}

/* Responsive para el video */
@media (max-width: 768px) {
    .video-container {
        max-width: 100%;
        margin: 10px auto;
        border-radius: 10px;
    }

    .video-container video {
        width: 100%;
        height: 300px; /* Altura fija para móviles */
        object-fit: cover; /* Mantiene la proporción del video */
    }
}

@media (max-width: 480px) {
    .video-container video {
        height: 200px; /* Altura más pequeña para móviles pequeños */
    }
}

/* Estilos del menú */
.menu {
    background-color: var(--surface-color);
    padding: 1rem;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.menu-icon {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.menu-icon:hover {
    transform: scale(1.1);
}

.menu-items {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
    align-items: center;
}

.menu-items li {
    position: relative;
}

.menu-items a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.menu-items a:hover {
    color: var(--primary-color);
    background-color: rgba(0, 255, 0, 0.1);
}

.menu-items .active a {
    color: var(--primary-color);
    font-weight: bold;
    background-color: rgba(0, 255, 0, 0.15);
}

/* Submenús */
.submenu {
    position: relative;
}

.submenu-items {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--surface-color);
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--shadow-color);
    display: none;
    z-index: 1002;
    padding: 0.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    margin-top: 5px;
}

.submenu.active .submenu-items {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.submenu-items li {
    position: relative;
    width: 100%;
}

.submenu-items li a {
    padding: 0.8rem 1rem;
    width: 100%;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.submenu-items li a:hover {
    background-color: rgba(0, 255, 0, 0.1);
    color: var(--primary-color);
}

.submenu-items .submenu-items {
    left: 100%;
    top: 0;
    margin-left: 2px;
}

.fa-chevron-down {
    transition: transform 0.3s ease;
    margin-left: 5px;
}

/* Estilos para móvil */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 1001;
        color: var(--primary-color);
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        transition: transform 0.3s ease;
    }

    .menu-icon:hover {
        transform: scale(1.1);
    }

    .menu-items {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--surface-color);
        flex-direction: column;
        padding: 4rem 1rem 1rem;
        box-shadow: -2px 0 5px var(--shadow-color);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
    }

    .menu-items.active {
        display: flex;
        transform: translateX(0);
    }

    .menu-items li {
        width: 100%;
        opacity: 0;
        transform: translateX(20px);
        animation: slideIn 0.3s ease forwards;
    }

    @keyframes slideIn {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .menu-items li:nth-child(n) {
        animation-delay: calc(0.1s * var(--i));
    }

    .menu-items a {
        padding: 1rem;
        width: 100%;
        border-radius: 8px;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .submenu-items {
        position: static;
        background: rgba(0, 255, 0, 0.05);
        box-shadow: none;
        padding: 0.5rem;
        margin-top: 0.5rem;
        border-radius: 8px;
        display: none;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        width: 100%;
    }

    .submenu.active .submenu-items {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

    .submenu-items .submenu-items {
        position: static;
        margin-left: 1rem;
        margin-top: 0.5rem;
    }

    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        backdrop-filter: blur(3px);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .menu-overlay.active {
        display: block;
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Estilos de la sección de sonidos */
.sound-selector {
    padding: 20px;
    background-color: var(--surface-color);
    border-radius: 10px;
    margin: 20px 0;
}

.sound-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.sound-card {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.sound-card:hover {
    transform: translateY(-5px);
}

.sound-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: var(--surface-color);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sound-card img[src="placeholder.jpg"] {
    opacity: 0.5;
}

.sound-card h3 {
    color: var(--primary-color);
    margin: 10px 0;
    font-size: 1.1rem;
}

.button-group {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

/* Modal de Video */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--surface-color);
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.video-modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--primary-color);
}

.modal-header h3 {
    color: var(--primary-color);
    margin: 0;
}

.btn-close {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
}

.btn-close:hover {
    transform: scale(1.1);
    color: #ff0000;
}

.modal-body {
    padding: 20px;
}

.modal-body video {
    width: 100%;
    border-radius: 5px;
    background-color: #000;
}

/* Animaciones */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sound-card:nth-child(n) {
    animation-delay: calc(0.1s * var(--i));
}

/* Responsive para sonidos */
@media (max-width: 768px) {
    .sound-grid {
        grid-template-columns: 1fr;
    }

    .button-group {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
} 

/* Estilos para notificaciones */
.notifications-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.notification-settings {
    background-color: var(--surface-color);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px var(--shadow-color);
}

.notification-option {
    display: flex;
    align-items: center;
    margin: 15px 0;
    padding: 10px;
    background-color: var(--background-color);
    border-radius: 5px;
    position: relative;
}

.notification-select {
    background-color: var(--surface-color);
    color: var(--text-color);
    border: 1px solid var(--primary-color);
    padding: 8px;
    border-radius: 5px;
    margin-left: 10px;
}

.notification-option label {
    min-width: 150px;
}

.notification-types {
    margin: 20px 0;
}

.notification-preview {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background-color: var(--background-color);
    border-radius: 5px;
    position: relative;
}

.notification-preview .video-container {
    margin-top: 20px;
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--surface-color);
    border-radius: 15px;
    padding: 20px;
}

.notification-preview .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.notification-preview video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* Switch toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-right: 15px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:disabled + .slider {
    opacity: 0.5;
    cursor: not-allowed;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
} 

/* Prioridad de notificaciones */
.priority-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    padding: 10px;
    background-color: var(--background-color);
    border-radius: 5px;
}

.priority-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.priority-high {
    background-color: rgba(255, 0, 0, 0.2);
    color: #ff4444;
}

.priority-medium {
    background-color: rgba(255, 165, 0, 0.2);
    color: #ffa500;
}

.priority-low {
    background-color: rgba(0, 255, 0, 0.2);
    color: #00ff00;
} 

/* Estilos para notificaciones programadas */
.notification-schedule {
    margin: 20px 0;
    padding: 20px;
    background-color: var(--surface-color);
    border-radius: 10px;
}

.schedule-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-input {
    flex: 1;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
    background-color: var(--background-color);
    color: var(--text-color);
}

.notifications-list {
    margin-top: 15px;
}

.notification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin: 10px 0;
    background-color: var(--background-color);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.notification-info {
    flex: 1;
}

.notification-info h4 {
    margin: 0;
    color: var(--primary-color);
}

.notification-time {
    font-size: 0.8em;
    color: var(--text-color);
    opacity: 0.7;
}

.btn-delete {
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s;
}

.btn-delete:hover {
    transform: scale(1.2);
} 

/* Estado del servidor */
.server-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    margin-bottom: 20px;
    background-color: var(--background-color);
    border-radius: 5px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #666;
}

.status-dot.connected {
    background-color: #00ff00;
    box-shadow: 0 0 10px #00ff00;
}

.status-dot.disconnected {
    background-color: #ff0000;
    box-shadow: 0 0 10px #ff0000;
} 

/* Estilos para la vista previa de notificación */
.preview-content {
    margin-bottom: 20px;
}

.preview-notification {
    background-color: var(--surface-color);
    border-radius: 8px;
    padding: 12px;
    margin: 20px auto;
    max-width: 400px;
    box-shadow: 0 2px 10px rgba(0, 255, 0, 0.2);
}

.notification-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.notification-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.notification-title {
    flex: 1;
    font-weight: bold;
    color: var(--primary-color);
}

.notification-time {
    font-size: 0.8em;
    color: var(--text-color);
    opacity: 0.7;
}

.notification-body {
    padding: 8px 0;
    color: var(--text-color);
} 

/* Estilos para la página Acerca de */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.about-section {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin: 40px 0;
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 20px var(--shadow-color);
}

.developer-info {
    text-align: center;
    padding: 20px;
    border-right: 2px solid var(--primary-color);
}

.developer-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 4px solid var(--primary-color);
    object-fit: cover;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    border-radius: 20px;
    background-color: var(--background-color);
    color: var(--text-color);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    color: var(--primary-color);
}

.app-info {
    padding: 20px;
}

.features-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background-color: var(--background-color);
    border-radius: 8px;
}

.features-list i {
    color: var(--primary-color);
}

.version-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--primary-color);
}

.tech-list {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.tech-list li {
    display: flex;
    align-items: center;
    gap: 5px;
}

.copyright-section {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    border-top: 2px solid var(--primary-color);
}

.copyright-section .fa-heart {
    color: #ff4444;
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Responsive design */
@media (max-width: 768px) {
    .about-section {
        grid-template-columns: 1fr;
    }
    
    .developer-info {
        border-right: none;
        border-bottom: 2px solid var(--primary-color);
    }
} 

/* Estilos del Footer */
.footer {
    background-color: var(--surface-color);
    padding: 40px 0 20px;
    margin-top: 50px;
    box-shadow: 0 -5px 15px var(--shadow-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.footer-section {
    color: var(--text-color);
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-color);
}
/* Estilos para el footer */
.footer-bottom {
    background-color: #1a1a1a; /* Fondo gris oscuro */
    color: #ffffff; /* Texto blanco */
    padding: 40px 20px;
    text-align: center;
    border-top: 2px solid #00ff00; /* Borde superior verde */
    box-shadow: 0 -4px 15px rgba(0, 255, 0, 0.3); /* Sombra verde */
    font-family: 'Inter', sans-serif;
}

.footer-bottom p {
    margin: 10px 0;
    font-size: 1rem;
    color: #b0b0b0; /* Texto gris claro */
}

.footer-bottom a {
    color: #00ff00; /* Verde */
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-bottom a:hover {
    color: #00cc00; /* Verde más oscuro */
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5); /* Efecto de brillo */
}

.footer-bottom i.fa-heart {
    color: #ff0000; /* Rojo para el corazón */
    margin: 0 5px;
    animation: heartbeat 1.5s infinite; /* Animación de latido */
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.legal-links {
    margin-top: 20px;
    font-size: 0.9rem;
}

.legal-links a {
    color: #00ff00; /* Verde */
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.legal-links a:hover {
    color: #00cc00; /* Verde más oscuro */
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5); /* Efecto de brillo */
}

/* Efecto de separación entre enlaces */
.legal-links a:not(:last-child)::after {
    content: "|";
    margin-left: 10px;
    color: #b0b0b0; /* Gris claro */
}

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
    .footer-bottom {
        padding: 20px 10px;
    }

    .footer-bottom p {
        font-size: 0.9rem;
    }

    .legal-links {
        font-size: 0.8rem;
    }

    .legal-links a {
        margin: 0 5px;
    }
}

/* Estilos para páginas legales */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.legal-content {
    background-color: var(--surface-color);
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 0 20px var(--shadow-color);
}

.legal-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--primary-color);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.legal-section h3 {
    color: var(--text-color);
    margin: 15px 0 10px;
}

.legal-section ul {
    list-style: none;
    padding-left: 20px;
}

.legal-section ul li {
    margin: 8px 0;
    position: relative;
}

.legal-section ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: -15px;
} 

.legal-links {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 255, 0, 0.1);
}

.legal-links a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0 10px;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--primary-color);
} 

/* Estilos del contenedor de video para alarmas */
.video-container {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    position: relative;
    display: none;
    transition: all 0.3s ease;
}

.video-container.active {
    display: block;
}

.video-container video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 20px var(--shadow-color);
    margin-bottom: 15px;
}

.btn-detener {
    margin-top: 15px;
    background-color: #ff4444 !important;
    width: 200px;
    margin: 0 auto;
    display: block;
}

.btn-detener:hover {
    background-color: #cc0000 !important;
} 

.btn-play {
    background-color: var(--primary-color) !important;
    color: var(--background-color) !important;
    margin: 10px auto !important;
    display: block !important;
    width: 200px;
    font-size: 1.2rem !important;
    padding: 15px !important;
    margin-bottom: 20px !important;
} 

/* Estilos para los items de alarma */
.alarma-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin: 10px 0;
    background-color: rgba(0, 255, 0, 0.1);
    border-radius: 5px;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.alarma-item:hover {
    transform: translateX(5px);
    box-shadow: 0 0 10px var(--shadow-color);
}

.btn-eliminar {
    padding: 5px 10px !important;
    font-size: 1rem !important;
    background-color: #ff4444 !important;
    color: white !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 2 !important;
}

.btn-eliminar:hover {
    background-color: #cc0000 !important;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3) !important;
}

.btn-eliminar:active {
    transform: scale(0.95);
}

/* Estilos para las opciones de alarma */
.alarma-opciones {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.dias-semana {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.dias-semana label {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background-color: var(--surface-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dias-semana label:hover {
    background-color: var(--hover-color);
}

.dias-semana input[type="checkbox"] {
    accent-color: var(--primary-color);
}

.alarma-descripcion {
    width: 100%;
    max-width: 300px;
    margin: 15px auto;
}

/* Mejoras en los items de alarma */
.alarma-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 15px;
    padding: 15px;
    margin: 10px 0;
    background-color: rgba(0, 255, 0, 0.1);
    border-radius: 5px;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.alarma-info {
    text-align: left;
}

.alarma-tiempo {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.alarma-detalle {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
} 



.video-container {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    position: relative;
    display: block;
    transition: all 0.3s ease;
}

.video-container video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 20px var(--shadow-color);
    margin-bottom: 15px;
}
