.ax-form {
    max-width: 600px;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
}

    .modal-overlay.show {
        display: block;
    }

.modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 20px;
    max-width: 800px; /* Aumentado para m�s flexibilidad */
    width: 90%; /* Ancho adaptable */
    border-radius: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-body {
    overflow-y: auto; /* Permite scroll si el contenido es muy alto */
    max-height: 60vh; /* Altura m�xima para el cuerpo del modal */
}

.modal-media {
    max-width: 100%;
    height: auto;
    max-height: 50vh; /* Altura m�xima para la imagen/video */
    display: block;
    margin: 15px auto; /* Centrado y con margen */
    object-fit: contain; /* Asegura que el contenido se ajuste sin distorsionarse */
}

.modal-header, .modal-footer {
    margin-bottom: 10px;
}

/* Reset/Base Styles */
.votacion-container {
    background-color: #000;
    color: #fff;
    padding: 2rem 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slides-container {
    overflow: hidden;
    width: 80%; /* Adjust based on how many items you want to show */
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    flex: 0 0 calc(100% / 3); /* Shows 3 items */
    padding: 0 15px;
    box-sizing: border-box;
    text-align: center;
}

.media-container {
    position: relative;
    width: 100%;
    padding-top: 125%; /* Aspect Ratio 4:5 */
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    cursor: pointer;
}

    .media-container img,
    .media-container video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    pointer-events: none;
}

.vote-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vote-btn {
    background-color: #fcd12a;
    color: #000;
    border: none;
    padding: 12px 24px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    width: 80%;
    margin-bottom: 20px;
    transition: background-color 0.3s;
}

    .vote-btn:hover {
        background-color: #eabf26;
    }

.votes {
    display: flex;
    align-items: center;
    width: 80%;
}

    .votes span {
        margin-right: 10px;
        font-size: 14px;
        font-weight: bold;
    }

.progress {
    flex-grow: 1;
    height: 6px;
    background-color: #444;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: #c71585; /* Magenta color from original */
    border-radius: 3px;
    transition: width 0.4s ease-in-out;
}

.nav-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

    .nav-btn.prev {
        left: 20px;
    }

    .nav-btn.next {
        right: 20px;
    }

    .nav-btn:disabled {
        opacity: 0.5;
        cursor: default;
    }

    /* Font Awesome Icons for nav buttons */
    .nav-btn i {
        font-size: 2.5rem;
    }

/* Contenedor para las alertas */
.alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    width: 350px; /* Ancho aumentado */
}

/* Estilos base para la alerta */
.custom-alert {
    position: relative;
    padding: 20px; /* Padding aumentado */
    margin-bottom: 15px;
    border-radius: 12px; /* Bordes m�s redondeados */
    color: #fff;
    background-color: #333;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2); /* Sombra m�s pronunciada */
    display: flex;
    align-items: flex-start; /* Alineaci�n al inicio */
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Transici�n m�s el�stica */
    overflow: hidden; /* Para la barra de progreso */
}

    .custom-alert.show {
        opacity: 1;
        transform: translateX(0);
    }

/* Barra de progreso */
.alert-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background-color: rgba(255,255,255,0.3);
    animation: progress-bar 5s linear forwards;
}

@keyframes progress-bar {
    from {
        width: 100%;
    }

    to {
        width: 0;
    }
}

/* Icono */
.alert-icon {
    font-size: 28px; /* Icono m�s grande */
    margin-right: 20px;
    flex-shrink: 0;
}

/* Contenido */
.alert-content {
    flex-grow: 1;
}

.alert-title {
    font-weight: 700; /* M�s negrita */
    font-size: 18px; /* Tama�o de fuente aumentado */
    margin-bottom: 8px;
}

.alert-message {
    font-size: 15px; /* Tama�o de fuente aumentado */
    line-height: 1.4;
}

/* Bot�n de cierre */
.alert-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

    .alert-close:hover {
        opacity: 1;
    }

/* Colores por tipo de alerta */
.alert-success {
    background: linear-gradient(135deg, #28a745, #218838);
}

.alert-error {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.alert-warning {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #333;
}

.alert-info {
    background: linear-gradient(135deg, #17a2b8, #138496);
}

/* Estilos para el loading */
#panelCargando {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001; /* Por encima de las alertas */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

    #panelCargando .background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
    }

    #panelCargando span {
        position: relative;
        z-index: 1;
        color: #fff;
        font-size: 20px;
        padding: 20px;
        background: rgba(0,0,0,0.8);
        border-radius: 10px;
    }

/* ESTILOS FORM EFECTO MIRRINGO*/

.error-message {
    font-weight: bold;
    font-size: 15px;
}

.efectoform-container .flex-campos {
    display: flex;
    flex-wrap: wrap;
    gap: 0 3rem;
}

    .efectoform-container .flex-campos .form-group {
        width: 30%;
    }

.efectoform-container .form-group input[type="text" i], .efectoform-container .form-group select,
.efectoform-container .form-group input[type="email" i] {
    width: 100%;
    height: 42px;
    max-width: 100%;
    padding: 0 1.5rem;
    border-radius: 11px;
    font-size: 14px;
    color: #000000;
    margin: 0 0 2rem 0;
}

    .efectoform-container .form-group input[type="text" i]::placeholder,
    .efectoform-container .form-group input[type="email" i]::placeholder {
        color: #000000;
    }

.efectoform-container .flex-campos .form-group .form-group.ng-scope {
    width: 100%;
}

.efectoform-container label.form-check-label {
    margin: 0 0 0 1%;
}

.efectoform-container input[type=checkbox] {
    width: 16px;
    height: 16px;
    accent-color: #000000;
    vertical-align: middle;
    top: 10%;
}

.efectoform-container label.form-check-label, label.form-check-label a {
    font-size: 15px;
    color: #000000;
    font-weight: bold;
}

    .efectoform-container label.form-check-label a {
        text-decoration: underline;
    }

.efectoform-container .contenedor-boton {
    display: flex;
    justify-content: center;
    margin: 3rem 0 2rem 0;
}

.efectoform-container a.btn.btn-primary {
    transition: all 0.8s;
    border: 3px solid #000;
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    background: #000;
    border-radius: 10px;
    transition: background-color 0.3s, border-color 0.3s;
}

    .efectoform-container a.btn.btn-primary:hover {
        background: none;
        color: #000;
    }

.efectoform-container .container-subirarchivo .custom-file-upload i:before {
    background-repeat: no-repeat;
    content: "";
    background-image: url(https://www.mirringo.com.co/Portals/mirringo/Images/icon-sube-efm.png);
    display: block;
    width: 40px;
    height: 40px;
    background-size: contain;
    margin: 0 auto;
}

.efectoform-container .custom-file-upload {
    /* background: red; */
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.efectoform-container .container-subirarchivo {
    background: #b58200;
    padding: 3rem 3rem;
    max-width: 95%;
    border-radius: 20px;
    border: 3px dashed #ffdc84;
    border-width: 4px;
    margin: 3rem 0 3rem 0;
}

.efectoform-container .custom-file-upload span {
    color: #fff;
    font-size: 16px;
    font-family: Museo-900;
}

    .efectoform-container .custom-file-upload span + small {
        font-size: 13px;
        color: #fff;
    }

.efectoform-container .file-name-display {
    text-align: center;
    font-size: 14px;
    color: #fff;
}

@media only screen and (max-width: 768px) {
    .efectoform-container .flex-campos {
        flex-direction: column;
        gap: 0rem;
    }

        .efectoform-container .flex-campos .form-group {
            width: 100%;
            margin: 0;
        }

    .efectovideosform {
        max-width: 90%;
    }

    .efectoform-container .form-group input[type="text" i],
    .efectoform-container .form-group select,
    .efectoform-container .form-group input[type="email" i] {
        height: 36px;
    }

    .efectoform-container .flex-campos .form-group {
        margin: 0 0 -1px 0;
    }

    .efectoform-container label.form-check-label {
        margin: 0 0 0 3%;
    }

    .efectoform-container .container-subirarchivo {
        margin: 1rem 0 2rem 0;
        max-width: 100%;
    }
}


/* Estilos para el input de archivo personalizado */
.custom-file-upload {
    border: 2px dashed #ccc;
    display: inline-block;
    padding: 25px 15px;
    cursor: pointer;
    width: 100%;
    text-align: center;
    border-radius: 10px;
    transition: background-color 0.3s, border-color 0.3s;
}

    .custom-file-upload:hover {
        background-color: #f9f9f9;
        border-color: #aaa;
    }

    .custom-file-upload i {
        display: block;
        font-size: 28px;
        margin-bottom: 10px;
    }

.file-name-display {
    margin-top: 10px;
    font-style: italic;
    color: #555;
}

