main {
    width: 90%;
    margin: 2rem auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.video-container {
    width: 100%;
    max-width: 740px;
    background-color: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    }

.city-selector {
    width: 100%;
    max-width: 740px;
    position: relative;
}

.custom-select {
    position: relative;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
        }

.selected-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #003366;
    color: rgb(3, 3, 3);
    cursor: pointer;
    border-radius: 5px;
}

.options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border-top: none;
    z-index: 100;
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

.option {
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.option:hover {
    transform: scale(0.95); 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); 
}



/* Colores específicos para cada boleta */
.regional-color {
    background-color: #d2b48c; /* Color beige para sala regional */
}

.circuito-color {
    background-color: #bc8f8f; /* Color marrón claro para magistrados de circuito */
}

.sala-superior-color {
    background-color: #008080; /* Color verde azulado para sala superior */
}

.tribunal-color {
    background-color: #3c9964; /* Color verde mar para tribunal de disciplina */
}

.info-box {
    background-color: #f1f3f7;
    border-left: 4px solid #42aa3e;
    padding: 1.2rem;
    margin: 2rem 0;
    border-radius: 5px;
    width: 100%;
    max-width: 740px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-top: auto;
}

.info-box h3 {
    color: #1b6115;
    margin-top: 0;
    font-family: 'Lora', serif;
}

.info-box p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .video-container video {
        height: auto;
    }

    .video-container{
        margin-top: 0;
    }

    .option{
        font-size: 12px;
    }

    .selected-option{
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    main {
        margin: 1rem auto;
    }
            
    .selected-option {
        padding: 0.75rem;
    }
            
    .option {
        padding: 0.75rem;
    }
}
