* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}
body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Melhor para responsividade */
    background-color: #FFFFFF;
}

.logoClipei {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translate(-50%);
        
}
.container {
    background: #350f22;
    color: #FFFFFF;
    padding: 5vw; /* AjustÃ¡vel */
    text-align: center;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    min-height: 80vh; /* Em vez de altura fixa */
}


/* ðŸ“Œ Responsividade do FormulÃ¡rio */
.video-form-inner {
    margin-top: 3vh;
    font-weight: bold;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2vw;
    width: 100%;
}

/* ðŸ”¹ Ajuste dos Inputs */
.dia, .hora-inicio, .hora-fim, .quadra {
    text-align: center;
    display: flex;
    flex-direction: column;
    width: auto;
}

/* ðŸ”¹ Tamanho de Select e Inputs */
.video-form select, .video-form input {
    width: 14vw; /* Reduzindo tamanho em telas grandes */
    max-width: 150px; /* Limitando em telas menores */
    padding: 8px;
    text-align: center;
    text-align-last: center;
    font-size: 1rem;
    z-index: 99999;
    
}

/* ðŸ”¹ Melhorando Labels e BotÃµes */
label, select, input, button {
    margin: 5px 0;
    font-size: 1rem; /* Texto ajustÃ¡vel */
}

/* ðŸ”¹ Imagem Responsiva */
.logo {
    max-width: 300px;
    margin-bottom: 2vh;
}

/* ðŸ”¹ BotÃ£o de Envio */
.botao {
    margin-top: 3vh;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 80px;
    background-color: #ff4081;
    color: white;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 120px;
    transition: background 0.3s;
    font-size: 1rem;
    position: relative;
    z-index: 99999;
}

/* ðŸ”¹ Efeito de Onda na Parte Inferior */
.custom-shape-divider-bottom-1740660722 {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1740660722 svg {
    position: relative;
    display: block;
    width: calc(135% + 1.3px);
    height: 206px;
    transform: rotateY(180deg);
}

.custom-shape-divider-bottom-1740660722 .shape-fill {
    fill: #FFFFFF;
}

#video-results {
    margin-top: 50px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
}

.video-card {
    width: 500px;
    max-width: 100%;
    background-color: #ffffff;
    padding: 10px;
    box-sizing: border-box;
    display: inline-block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    margin-bottom: 50px;
}

.video-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Arial, sans-serif;
    color: #333;
    padding-bottom: 8px;
}

.video-time {
    font-size: 18px;
    font-weight: bold;
    color: #350f22;
}

.download-btn {
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: #350f22;
}

.download-btn:hover {
    text-decoration: underline;
}

.video-player {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 5px;
    object-fit: contain; /* Mantém o vídeo inteiro visível e adiciona bordas*/
    background-color: black; /* Garante que as bordas sejam pretas */
    -webkit-appearance: none; /* Remove o estilo padrão do iOS */
    appearance: none;
}

.sem-videos {
    position: relative;
    font-size: 1.2rem;
    color: #666;
    font-family: 'Arial', sans-serif;
    padding: 20px;
    text-align: center;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-top: 0px;
    margin-bottom: 20px;
    z-index: 999999;
}

/* ðŸ“Œ Estilos para Dispositivos MÃ³veis */

@media (max-width: 768px) {
    
    .logo{
        margin-top:60px;
    }
    .container {
        padding: 10vw 5vw;
        min-height: auto;
    }

    .video-form-inner {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .video-form select, .video-form input {
        width: 100%; /* Ocupa quase toda a largura */
        max-width: 100%;
        -webkit-appearance: none; /* Remove o estilo padrão do iOS */
        appearance: none;
    }

    .dia, .hora-inicio, .hora-fim, .quadra {
        position: relative;
        z-index: 99999;
        width: 100%;
    }

    .btn {
        padding: 12px 40px;
        font-size: 0.9rem;
    }
    #video-results {
        flex-direction: column;
        gap: 15px;
    }
    
    .video-card {
        width: 80vw;
    }

    .video-time {
        font-size: 16px;
    }

    .download-btn {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .video-card {
        width: 80vw;
        padding: 8px;
    }

    .video-time {
        font-size: 14px;
    }

    .download-btn {
        font-size: 12px;
    }
}