        :root {
            --bg: #f4f6f9;
            --card: #fff;
            --text: #333;
            --button: #28a745;
            --highlight: #007bff;
        }

        body.dark {
            --bg: #1a1a1a;
            --card: #2b2b2b;
            --text: #f0f0f0;
            --button: #4CAF50;
            --highlight: #66b2ff;
        }

        body {
            margin: 0;
            padding: 0;
            font-family: Arial, sans-serif;
            background: var(--bg);
            color: var(--text);
        }

        .container {
            max-width: 900px;
            margin: auto;
            padding: 20px;
        }

        .card {
            background: var(--card);
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            margin-bottom: 30px;
        }

        h2 {
            margin-bottom: 20px;
        }

        form {
            display: grid;
            gap: 15px;
        }
        
        /* Responsividade */
@media (max-width: 768px) {
    .card {
        padding: 15px;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 20px;
    }

    form {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 12px;
        margin-bottom: 15px;
    }

    h2 {
        font-size: 18px;
    }

    form {
        gap: 10px;
    }
}

        input, select {
            padding: 10px;
            border-radius: 8px;
            border: 1px solid #ccc;
            width: 100%;
        }

        button {
            background: var(--button);
            color: white;
            padding: 12px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: bold;
        }

        .checkbox-group {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .img-preview {
            max-height: 150px;
            margin-top: 10px;
        }

        .product-table {
            width: 100%;
            border-collapse: collapse;
        }

        .product-table th, .product-table td {
            padding: 10px;
            border-bottom: 1px solid #ddd;
        }

        .product-table img {
            height: 50px;
            border-radius: 5px;
        }

        .mode-toggle {
            float: right;
            cursor: pointer;
            background: var(--highlight);
            padding: 8px 14px;
            border-radius: 6px;
            color: #fff;
            font-size: 14px;
        }

        .link-log {
            color: var(--highlight);
            text-decoration: none;
        }

        /* Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: rgba(0,0,0,0.6);
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background: white;
            color: black;
            padding: 20px;
            border-radius: 10px;
            text-align: center;
            min-width: 300px;
        }

        .modal-content button {
            margin-top: 15px;
        }

        @media (max-width: 600px) {
            .mode-toggle {
                float: none;
                margin-bottom: 10px;
            }
        }

                  /* Modal de fundo */
        .modal-1 {
            display: none;
            position: fixed;
            z-index: 9999;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            justify-content: center;
            align-items: center;
            animation: fadeIn 0.3s ease-in-out;
        }

        /* Conteúdo do modal */
        .modal-content-1 {
            background: #fff;
            padding: 30px 25px;
            width: 90%;
            max-width: 450px;
            border-radius: 12px;
            position: relative;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
            font-family: 'Segoe UI', sans-serif;
            animation: slideUp 0.3s ease-in-out;
            margin: 0;
        }

        /* Botão de fechar */
        .close-1 {
            position: absolute;
            top: 12px;
            right: 15px;
            font-size: 22px;
            font-weight: bold;
            color: #444;
            cursor: pointer;
            transition: color 0.2s ease;
        }
        .close-1:hover {
            color: #e74c3c;
        }

        /* Inputs e selects */
        .modal-content-1 input[type="text"],
        .modal-content-1 input[type="file"],
        .modal-content-1 select {
            width: 100%;
            padding: 10px;
            margin: 8px 0;
            border: 1px solid #ccc;
            border-radius: 6px;
            font-size: 14px;
        }

        /* Botão */
        .modal-content-1 button {
            padding: 10px 16px;
            background-color: #3498db;
            color: white;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            margin-top: 10px;
            transition: background-color 0.3s ease;
        }
        .modal-content-1 button:hover {
            background-color: #2980b9;
        }

        /* Imagens */
        .modal-content-1 img {
            display: block;
            margin-top: 10px;
            max-width: 100px;
            border-radius: 6px;
            border: 1px solid #ddd;
        }

        /* Títulos e textos */
        .modal-content-1 h3 {
            margin-top: 0;
            margin-bottom: 15px;
            font-size: 20px;
            color: #333;
        }
        .modal-content-1 p {
            margin: 6px 0;
        }
        
        /* Responsividade */
@media (max-width: 480px) {
    .modal-content-1 {
        padding: 20px 15px;
        width: 95%;
    }

    .modal-content-1 h3 {
        font-size: 18px;
    }

    .modal-content-1 button {
        font-size: 14px;
        padding: 10px 14px;
    }

    .close-1 {
        font-size: 20px;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 768px) {
    .modal-content-1 {
        width: 90%;
    }
}
        

        /* Animações */
        @keyframes fadeIn {
            from { opacity: 0 }
            to { opacity: 1 }
        }
        @keyframes slideUp {
            from {
                transform: translateY(20px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        @media (max-width: 480px) {
            .modal-content-1 {
                width: 90%;
                padding: 20px;
            }
        }
        /* para visualização de video video*/
        #fullscreen-video {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            object-fit: cover;
            z-index: 99999;
            display: none;
        }





/*css basico de alertas*/
.alert {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
}
.alert.sucesso {
    background-color: #d4edda;
    color: #155724;
}
.alert.erro {
    background-color: #f8d7da;
    color: #721c24;
}
/*modais edição*/
.toast {
    visibility: hidden;
    min-width: 250px;
    margin: auto;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 12px 20px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    transition: visibility 0s, opacity 0.5s linear;
    opacity: 0;
}
.toast.show {
    visibility: visible;
    opacity: 1;
}
.toast.sucesso { background-color: #28a745; }
.toast.erro    { background-color: #dc3545; }

/*area de download de videos*/
/* Área de download de vídeos */
body { font-family: Arial, sans-serif; background: #f4f4f4; padding: 20px; }
h2 { text-align: center; }
table { width: 100%; border-collapse: collapse; background: #fff; box-shadow: 0 0 10px #ccc; }
th, td { padding: 12px; border: 1px solid #ddd; text-align: center; }
th { background-color: #f2f2f2; }
.btn { padding: 6px 12px; border: none; cursor: pointer; border-radius: 4px; font-size: 14px; text-decoration: none; }
.editar { background-color: #007bff; color: white; }
.excluir { background-color: #dc3545; color: white; }
.toggle { background-color: #17a2b8; color: white; }
.upload-btn {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}
.upload-btn:hover {
    background-color: #218838;
}
.alert {
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
}
.success { background-color: #d4edda; color: #155724; }
.warning { background-color: #fff3cd; color: #856404; }
.danger { background-color: #f8d7da; color: #721c24; }
.info { background-color: #d1ecf1; color: #0c5460; }

/* Responsividade sem alterar estrutura */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    table {
        font-size: 12px;
    }

    th, td {
        padding: 8px;
    }

    .btn {
        font-size: 12px;
        padding: 5px 8px;
    }

    .upload-btn {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 14px;
    }

    h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    table {
        font-size: 11px;
    }

    .btn {
        font-size: 11px;
        padding: 4px 6px;
    }

    .upload-btn {
        padding: 10px;
        font-size: 13px;
    }

    th, td {
        padding: 6px;
    }

    h2 {
        font-size: 18px;
    }
}

        
        
        
        /*responsivo*/
       
