.preview-video {
    max-width: 100%;
    height: auto;
    border: 2px solid #495057;
    border-radius: 8px;
    background: #000;
}

.hide-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #495057;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;
    color: white;
    transition: all 0.3s;
}

.hide-toggle:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.hidden {
    display: none !important;
}

.no-preview {
    width: 100%;
    max-width: 400px;
    height: 300px;
    border: 2px dashed #495057;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    background: #212529;
}

.no-preview i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.btn {
    transition: all 0.2s ease-in-out;
}

.btn:hover {
    transform: translateY(-1px);
}

.config-toggle {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    z-index: 20;
    transition: background 0.2s;
    color: white;
}

.config-toggle:hover {
    background: rgba(0, 0, 0, 0.9);
}

.config-panel {
    position: absolute;
    top: 60px;
    left: 10px;
    background: rgba(33, 37, 41, 0.95);
    border: 1px solid #495057;
    border-radius: 8px;
    padding: 15px;
    min-width: 200px;
    z-index: 15;
}

.audio-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
    color: white;
}

.audio-toggle:hover {
    background: rgba(0, 0, 0, 0.9);
}

.fullscreen-toggle {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
    color: white;
}

.fullscreen-toggle:hover {
    background: rgba(0, 0, 0, 0.9);
}

.fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999 !important;
    background: black !important;
    border: none !important;
    border-radius: 0 !important;
    object-fit: contain !important;
}

/* Estilos móviles */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .preview-video {
        max-width: 100%;
        max-height: 50vh;
    }
    
    .config-panel {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 300px;
    }
    
    .hide-toggle {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Prevenir zoom en iOS */
input, select, textarea {
    font-size: 16px;
}