.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;
}

/* ============================
   Administración de Eventos
   - Modal más amplio y tabs visibles
   ============================ */

/* Cabecera: título arriba y botón debajo, sin que queden “desparramados” */
.eventos-admin-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
    background: none !important;
}

.eventos-admin-header h2 {
    margin: 0;
    color: #333;
}

.eventos-admin-header-actions {
    display: flex;
    margin-bottom: 10px;
}

/* Contenedor de la tabla: ancho controlado, no ocupa todo */
.eventos-table-wrapper {
    max-width: 95%;
    width: 100%;
    display: contents;
}

.eventos-admin .eventos-paginador {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding: 10px 0;
    border-top: 1px solid #e8e8e8;
    max-width: 920px;
}

.eventos-admin .eventos-paginador-info {
    font-size: 13px;
    color: #555;
}

.eventos-admin .eventos-paginador-btns {
    display: flex;
    align-items: center;
    gap: 12px;
}

.eventos-admin .eventos-paginador-pagina {
    font-size: 13px;
    color: #555;
}

.eventos-admin .eventos-paginador .btn.disabled {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}

.eventos-admin .alert.alert-info {
    max-width: 920px;
}

/* Apartado de participantes: estructura y loader */
.eventos-admin .eventos-participantes-section {
    margin-top: 0;
}

.eventos-admin .eventos-participantes-section .eventos-admin-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.eventos-admin .eventos-participantes-content {
    position: relative;
    min-height: 180px;
}

.eventos-admin .eventos-participantes-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 24px;
    text-align: center;
    background: #f8f9fa;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    min-height: 180px;
    box-sizing: border-box;
}

.eventos-admin .eventos-loader-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e0e0e0;
    border-top-color: #00798C;
    border-radius: 50%;
    animation: eventos-spinner 0.75s linear infinite;
    flex-shrink: 0;
}

.eventos-admin .eventos-loader-text {
    margin: 18px 0 0 0;
    font-size: 15px;
    color: #555;
    font-weight: 500;
}

@keyframes eventos-spinner {
    to { transform: rotate(360deg); }
}

.eventos-admin .eventos-participantes-empty {
    max-width: 920px;
    margin-top: 0;
}

.eventos-admin .modal-content.modal-lg {
    max-width: 960px;
    width: 90%;
    box-shadow: 0 18px 45px rgba(0,0,0,0.25);
    border: 0;
}

.eventos-admin .modal-body {
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: 15px;
}

/* Pestañas del modal: alineadas con el formulario (mismo margen izquierdo)
   Reseteo explícito para anular estilos del tema (.insidepage .content-area ul li:
   huella, padding-left, color, margin-bottom, font-size) */
.eventos-admin .nav.nav-tabs {
    position: relative;
    z-index: 2;
    margin: 0 15px;
    margin-bottom: 0;
    padding: 0 15px 0 15px;
    padding-top: 10px;
    padding-bottom: 2px;
    border: 1px solid #c2c2c2;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    background: #f0f0f0;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    list-style: none;
    min-height: 44px;
    align-items: flex-end;
}

/* Anular estilos del portal (huella, padding, margin, color, font-size) */
.eventos-admin .nav.nav-tabs .nav-item {
    margin: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    padding-left: 0 !important;
    background: none !important;
    background-image: none !important;
    font-size: inherit;
}

.eventos-admin .nav.nav-tabs .nav-link {
    border: 1px solid #c2c2c2;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    padding: 10px 14px 14px 14px !important;
    padding-left: 14px !important;
    margin: 0;
    margin-bottom: -1px;
    background: #e0e0e0 !important;
    background-image: none !important;
    color: #333 !important;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
}

.eventos-admin .nav.nav-tabs .nav-link:hover {
    background: #fefefe;
}

.eventos-admin .nav.nav-tabs .nav-link.active {
    background: #fff;
    color: #222;
    position: relative;
    top: 1px;
    border-bottom: 1px solid #fff;
}

.eventos-admin .tab-content {
    position: relative;
    z-index: 1;
    margin: 0 15px 15px 15px;
    padding: 15px;
    border: 1px solid #c2c2c2;
    border-top: none;
    border-radius: 0 0 6px 6px;
    background: #fff;
}

.eventos-admin .tab-content .tab-pane {
    display: none;
}

.eventos-admin .tab-content .tab-pane.active {
    display: block;
}

/* Grid principal, campos de registro y participantes: misma estética */
.eventos-admin .eventos-table,
.eventos-admin .campos-registro-table,
.eventos-admin .participantes-table {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    overflow: hidden;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.eventos-admin .eventos-table thead th,
.eventos-admin .campos-registro-table thead th,
.eventos-admin .participantes-table thead th {
    background: #e8e8e8;
    border-bottom: 2px solid #c2c2c2;
    padding: 12px 14px;
    text-align: left;
    font-weight: 600;
    color: #333;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0.02em;
}

.eventos-admin .eventos-table tbody td,
.eventos-admin .campos-registro-table tbody td,
.eventos-admin .participantes-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid #e8e8e8;
    vertical-align: middle;
    color: #444;
}

.eventos-admin .eventos-table tbody tr:nth-child(even) td,
.eventos-admin .campos-registro-table tbody tr:nth-child(even) td,
.eventos-admin .participantes-table tbody tr:nth-child(even) td {
    background: #fafafa;
}

.eventos-admin .eventos-table tbody tr:hover td,
.eventos-admin .campos-registro-table tbody tr:hover td,
.eventos-admin .participantes-table tbody tr:hover td {
    background: rgba(0, 121, 140, 0.08);
}

.eventos-admin .eventos-table tbody tr:last-child td,
.eventos-admin .campos-registro-table tbody tr:last-child td,
.eventos-admin .participantes-table tbody tr:last-child td {
    border-bottom: none;
}

/* Badge en ambos grids */
.eventos-admin .eventos-table .badge,
.eventos-admin .campos-registro-table .badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.eventos-admin .eventos-table .badge-success,
.eventos-admin .campos-registro-table .badge-success {
    background-color: #2d8a2d;
    color: #fff;
}

.eventos-admin .eventos-table .badge-secondary,
.eventos-admin .campos-registro-table .badge-secondary {
    background-color: #9e9e9e;
    color: #fff;
}

.eventos-admin .campos-registro-table .badge-info {
    background-color: #00798C;
    color: #fff;
}

/* Columna Acciones: espacio entre botones en todos los grids */
.eventos-admin .eventos-table td:nth-child(6) .btn-action,
.eventos-admin .eventos-table td:nth-child(6) .btn,
.eventos-admin .campos-registro-table td:nth-child(6) .btn,
.eventos-admin .participantes-table td:nth-child(5) .btn {
    margin-right: 6px;
}

.eventos-admin .eventos-table td:nth-child(6) .btn-action:last-child,
.eventos-admin .eventos-table td:nth-child(6) .btn:last-child,
.eventos-admin .campos-registro-table td:nth-child(6) .btn:last-child,
.eventos-admin .participantes-table td:nth-child(5) .btn:last-child {
    margin-right: 0;
}

/* ——— Grid principal (eventos): anchos por columna ——— */
.eventos-admin .eventos-table th:nth-child(1),
.eventos-admin .eventos-table td:nth-child(1) { width: 20%; min-width: 0; }
.eventos-admin .eventos-table th:nth-child(2),
.eventos-admin .eventos-table td:nth-child(2) { width: 26%; min-width: 0; }
.eventos-admin .eventos-table th:nth-child(3),
.eventos-admin .eventos-table td:nth-child(3) { width: 12%; }
.eventos-admin .eventos-table th:nth-child(4),
.eventos-admin .eventos-table td:nth-child(4) { width: 12%; }
.eventos-admin .eventos-table th:nth-child(5),
.eventos-admin .eventos-table td:nth-child(5) { width: 10%; }
.eventos-admin .eventos-table th:nth-child(6),
.eventos-admin .eventos-table td:nth-child(6) { width: 20%; min-width: 0; }

.eventos-admin .eventos-table td:nth-child(3),
.eventos-admin .eventos-table td:nth-child(4),
.eventos-admin .eventos-table td:nth-child(5) {
    text-align: center;
}

.eventos-admin .eventos-table td:nth-child(1) {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
}

.eventos-admin .eventos-table td:nth-child(2) {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 0;
    color: #555;
}

.eventos-admin .eventos-table td:nth-child(6) {
    white-space: nowrap;
}

/* ——— Grid Campos de Registro: anchos y alineación ——— */
.eventos-admin .campos-registro-table th:nth-child(1),
.eventos-admin .campos-registro-table td:nth-child(1) { width: 8%; }
.eventos-admin .campos-registro-table th:nth-child(2),
.eventos-admin .campos-registro-table td:nth-child(2) { width: 24%; min-width: 0; }
.eventos-admin .campos-registro-table th:nth-child(3),
.eventos-admin .campos-registro-table td:nth-child(3) { width: 14%; }
.eventos-admin .campos-registro-table th:nth-child(4),
.eventos-admin .campos-registro-table td:nth-child(4) { width: 12%; }
.eventos-admin .campos-registro-table th:nth-child(5),
.eventos-admin .campos-registro-table td:nth-child(5) { width: 12%; }
.eventos-admin .campos-registro-table th:nth-child(6),
.eventos-admin .campos-registro-table td:nth-child(6) { width: 30%; min-width: 0; }

.eventos-admin .campos-registro-table td:nth-child(1),
.eventos-admin .campos-registro-table td:nth-child(3),
.eventos-admin .campos-registro-table td:nth-child(4),
.eventos-admin .campos-registro-table td:nth-child(5) {
    text-align: center;
}

.eventos-admin .campos-registro-table td:nth-child(2) {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
}

.eventos-admin .campos-registro-table td:nth-child(6) {
    white-space: nowrap;
}

/* ——— Grid Participantes: 5 columnas (Nombre, Email, Fecha registro, Estado, Acciones) ——— */
.eventos-admin .participantes-table th:nth-child(1),
.eventos-admin .participantes-table td:nth-child(1) { width: 22%; min-width: 0; }
.eventos-admin .participantes-table th:nth-child(2),
.eventos-admin .participantes-table td:nth-child(2) { width: 28%; min-width: 0; }
.eventos-admin .participantes-table th:nth-child(3),
.eventos-admin .participantes-table td:nth-child(3) { width: 18%; }
.eventos-admin .participantes-table th:nth-child(4),
.eventos-admin .participantes-table td:nth-child(4) { width: 14%; }
.eventos-admin .participantes-table th:nth-child(5),
.eventos-admin .participantes-table td:nth-child(5) { width: 18%; min-width: 0; }

.eventos-admin .participantes-table td:nth-child(3),
.eventos-admin .participantes-table td:nth-child(4) {
    text-align: center;
}

.eventos-admin .participantes-table td:nth-child(1) {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
}

.eventos-admin .participantes-table td:nth-child(2) {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 0;
    color: #555;
}

.eventos-admin .participantes-table td:nth-child(5) {
    white-space: nowrap;
}

/* Campos de formulario en el modal de administración */
.eventos-admin .modal-body .form-group {
    margin-bottom: 14px;
    max-width: 520px;
}

.eventos-admin .modal-body .form-group .row {
    max-width: 520px;
}

.eventos-admin .modal-body label {
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
    text-align: left;
}

.eventos-admin .modal-body .form-control,
.eventos-admin .modal-body textarea,
.eventos-admin .modal-body select {
    border-radius: 4px;
    border: 1px solid #c9c9c9;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
    min-height: 38px;
    padding: 8px 12px;
}

.eventos-admin .modal-body textarea.form-control {
    min-height: 88px;
    padding: 8px 12px;
}

.eventos-admin .modal-body textarea {
    resize: vertical;
}

.eventos-admin .required-field {
    color: #dc3545;
    font-size: 11px;
}

.eventos-admin .custom-control.custom-switch {
    padding-left: 0;
}

.eventos-admin .custom-control-label {
    margin-left: 6px;
}

.eventos-admin #multimedia {
    position: relative;
    z-index: 1;
}

.eventos-admin .modal-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
}

.eventos-admin .modal-footer {
    border-top: 1px solid #e5e5e5;
    margin-top: 15px;
    padding-top: 12px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.eventos-admin .modal-footer .btn {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
}

.eventos-admin .modal-footer .btn i {
    margin-right: 4px;
}

/* ----- Modal Detalle del Participante (mismos estilos que formularios) ----- */
.eventos-admin .modal-content.modal-participante-detalle {
    max-width: 720px;
    width: 92%;
}

.eventos-admin .modal-participante-header {
    padding-bottom: 12px;
}

.eventos-admin .modal-participante-title-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.eventos-admin .modal-participante-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #222;
}

.eventos-admin .modal-participante-badge {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
}

.eventos-admin .modal-participante-badge.badge-success {
    background-color: #2d8a2d;
    color: #fff;
}

.eventos-admin .modal-participante-badge.badge-warning {
    background-color: #e6a800;
    color: #1a1a1a;
}

.eventos-admin .modal-participante-body {
    padding-top: 8px;
}

/* Form-group y label como en el resto de formularios del módulo */
.eventos-admin .modal-participante-body .form-group {
    margin-bottom: 14px;
    max-width: 100%;
}

.eventos-admin .modal-participante-body .form-group label {
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
    font-size: inherit;
}

/* Campo de solo lectura: mismo aspecto que .form-control */
.eventos-admin .modal-participante-body .form-control-readonly {
    border-radius: 4px;
    border: 1px solid #c9c9c9;
    background-color: #f8f9fa;
    min-height: 38px;
    padding: 8px 12px;
    font-size: 14px;
    color: #222;
    word-break: break-word;
    cursor: default;
}

.eventos-admin .modal-participante-body .form-control-readonly a {
    color: #00798C;
    text-decoration: none;
}

.eventos-admin .modal-participante-body .form-control-readonly a:hover {
    text-decoration: underline;
}

/* Row/column en modal participante (alineado con formularios) */
.eventos-admin .modal-participante-body .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.eventos-admin .modal-participante-body .row .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .eventos-admin .modal-participante-body .row .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.eventos-admin .participante-detalle-section {
    margin-bottom: 22px;
}

.eventos-admin .participante-detalle-section:last-child {
    margin-bottom: 0;
}

.eventos-admin .participante-detalle-section-title {
    font-size: 13px;
    font-weight: 600;
    color: #00798C;
    margin: 0 0 10px 0;
    padding-bottom: 6px;
    border-bottom: 1px solid #e0e0e0;
}

.eventos-admin .participante-detalle-section-title i {
    margin-right: 6px;
    opacity: 0.9;
}

/* Respuestas: título y valor en una línea; 2 columnas de pares */
.eventos-admin .participante-detalle-respuestas {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
}

.eventos-admin .participante-detalle-respuestas .participante-detalle-respuesta {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 10px;
    background: #f8f9fa;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    min-height: 36px;
}

.eventos-admin .participante-detalle-respuestas .participante-detalle-campo {
    font-weight: 600;
    color: #555;
    font-size: 13px;
    flex-shrink: 0;
    min-width: 100px;
}

.eventos-admin .participante-detalle-respuestas .participante-detalle-valor {
    font-size: 13px;
    color: #222;
    word-break: break-word;
    flex: 1;
    min-width: 0;
}

.eventos-admin .participante-detalle-respuestas .participante-detalle-valor .participante-detalle-link {
    color: #00798C;
    text-decoration: none;
}

.eventos-admin .participante-detalle-respuestas .participante-detalle-valor .participante-detalle-link:hover {
    text-decoration: underline;
}

.eventos-admin .participante-detalle-respuestas .participante-detalle-respuesta:nth-last-child(-n+2) {
    margin-bottom: 0;
}

@media (max-width: 560px) {
    .eventos-admin .participante-detalle-respuestas {
        grid-template-columns: 1fr;
    }
    .eventos-admin .participante-detalle-respuestas .participante-detalle-respuesta:last-child {
        margin-bottom: 0;
    }
}

.eventos-admin .participante-detalle-valor {
    font-size: 14px;
    color: #222;
    word-break: break-word;
}

.eventos-admin .participante-detalle-multimedia .participante-detalle-section-title {
    margin-bottom: 12px;
}

.eventos-admin .participante-detalle-media-wrap {
    border: 1px solid #c9c9c9;
    border-radius: 4px;
    padding: 12px;
    background: #f8f9fa;
    text-align: center;
}

.eventos-admin .participante-detalle-media-wrap .participante-media {
    max-width: 100%;
    height: auto;
    max-height: 50vh;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

.eventos-admin .modal-participante-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

/* ----------------------------------------------------------
   Botones de acción: estilo Grupo BIOS (teal, plano, redondeado)
   Como el botón "Aceptar" del banner de cookies del portal.
   Primary: #00798C (teal/petrol), diseño limpio sin gradientes fuertes
---------------------------------------------------------- */

.eventos-admin .btn,
.eventos-admin .btn-primary,
.eventos-admin .btn-secondary,
.eventos-admin .btn-danger,
.eventos-admin .btn-success {
    padding: 8px 16px;
    font-size: 13px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    -webkit-box-shadow: none;
    box-shadow: none;
    text-shadow: none;
    transition: background-color 0.2s ease;
}

/* Botones pequeños (tabla: Editar, Ver, etc.) mismo estilo pero más compactos */
.eventos-admin .btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.eventos-admin .btn-primary,
.eventos-admin a.btn-primary {
    background-color: #00798C;
    color: #fff !important;
}

.eventos-admin .btn-primary:hover,
.eventos-admin a.btn-primary:hover {
    background-color: #008b9e;
    color: #fff !important;
}

.eventos-admin .btn-primary:active,
.eventos-admin a.btn-primary:active {
    background-color: #006b7a;
    color: #fff !important;
}

.eventos-admin .btn-secondary {
    background-color: #e8e8e8;
    color: #333;
    border: 1px solid #d1d1d1;
}

.eventos-admin .btn-secondary:hover {
    background-color: #f0f0f0;
    color: #555;
}

.eventos-admin .btn-secondary:active {
    background-color: #ddd;
}

.eventos-admin .btn-danger,
.eventos-admin a.btn-danger {
    background-color: #b81900;
    color: #fff !important;
}

.eventos-admin .btn-danger:hover,
.eventos-admin a.btn-danger:hover {
    background-color: #a01500;
    color: #fff !important;
}

.eventos-admin .btn-success,
.eventos-admin a.btn-success {
    background-color: #2d8a2d;
    color: #fff !important;
}

.eventos-admin .btn-success:hover,
.eventos-admin a.btn-success:hover {
    background-color: #3d9a3d;
    color: #fff !important;
}

/* Botón Agregar Campo: mismo estilo que el resto de primary (hereda todo lo anterior) */
.eventos-admin #campos .mb-3 .btn:hover {
    background-color: #008b9e;
    color: #fff;
}

/* Modal Nuevo/Editar Campo (dinámico según tipo): ancho estable y bloque extra ordenado */
.eventos-admin .modal-content.modal-campo {
    max-width: 560px;
}

.eventos-admin .modal-campo-body .form-group {
    margin-bottom: 1rem;
}

.eventos-admin .modal-campo-body .row + .form-group,
.eventos-admin .modal-campo-body .form-group + .modal-campo-extra,
.eventos-admin .modal-campo-body .modal-campo-extra + .row {
    margin-top: 0;
}

.eventos-admin .modal-campo-extra {
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.eventos-admin .modal-campo-extra .form-text.text-muted {
    margin-top: 0.25rem;
    font-size: 0.8125rem;
}

