/* Estilos para el video de inactividad */
.inactivity-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 9999;
    display: none;
    overflow: hidden;
}

.inactivity-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.btn-close-video {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
}

.btn-close-video:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.video-info {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Estilos para cuando el video está en pantalla completa */
body.video-fullscreen-active {
    overflow: hidden;
}

/* Estilos específicos para pantalla completa del navegador */
.inactivity-video-container:fullscreen {
    background-color: #000;
}

.inactivity-video-container:-webkit-full-screen {
    background-color: #000;
}

.inactivity-video-container:-moz-full-screen {
    background-color: #000;
}

.inactivity-video-container:-ms-fullscreen {
    background-color: #000;
}

/* Animaciones */
.inactivity-video-container.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.inactivity-video-container.fade-out {
    animation: fadeOut 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .video-info {
        font-size: 14px;
        padding: 12px 20px;
        bottom: 20px;
    }
    
    .btn-close-video {
        width: 40px;
        height: 40px;
        font-size: 16px;
        top: 15px;
        right: 15px;
    }
}

/* Estilos para el diálogo de sesión */
.session-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    backdrop-filter: blur(5px);
}

.session-dialog {
    background: white;
    border-radius: 16px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: dialogSlideIn 0.3s ease-out;
}

.session-dialog h3 {
    color: #1a2233;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 16px 0;
}

.session-dialog p {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 24px 0;
}

.session-dialog-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.session-dialog-buttons .btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.session-dialog-buttons .btn-main {
    background: #2563eb;
    color: white;
}

.session-dialog-buttons .btn-main:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.session-dialog-buttons .btn-gray {
    background: #e5e7eb;
    color: #374151;
}

.session-dialog-buttons .btn-gray:hover {
    background: #d1d5db;
    transform: translateY(-1px);
}

@keyframes dialogSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive para el diálogo */
@media (max-width: 480px) {
    .session-dialog {
        padding: 24px;
        margin: 20px;
    }
    
    .session-dialog h3 {
        font-size: 1.25rem;
    }
    
    .session-dialog p {
        font-size: 0.9rem;
    }
    
    .session-dialog-buttons {
        flex-direction: column;
    }
    
    .session-dialog-buttons .btn {
        width: 100%;
    }
} 