#container {
    padding-left: 300px;
}

#content {
    padding: 20px;
}

@media only screen and (max-width : 992px) {
    #container {
        padding: 0 16px;
    }
}

.tabla-ventas {
    width: 90%;
    margin-left: 5%;
}

[ng-click],
[data-ng-click],
[x-ng-click] {
    cursor: pointer;
}

.separator {
    width: 100%;
    height: 1px;
    background-color: #d6d6d6;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    /*width: 50%;
  padding-left: 25%;*/
}

.header-bar {
    text-transform: uppercase;
    justify-content: center;
}

.ventas-row {
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

.ventas-content {
    list-style: none;
    display: flex;
    flex-direction: row;
    padding-bottom: 20px;
    justify-content: space-around;
    align-items: center;
}

.tabla-header {
    /*background-color: red;*/
}

.tabla-inscripciones {
    width: 50%;
    margin-left: 25%;
}

.profile {
    text-align: center;
    padding-top: 10px;
}

.name {
    font-size: 20px;
}

.lista-container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.lista-titulo {
    display: flex;
    justify-content: center;
}

.error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.btn:focus {
    background-color: #e5e5e5
}

.waves-effect:focus {
    background-color: #e5e5e5
}

.switch label input[type=checkbox]:checked+.lever {
    background-color: rgba(114, 26, 50, 0.4);
}

.switch label input[type=checkbox]:checked+.lever:after {
    background-color: #721a32;
}

.label-pagos {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: larger;
    color: black;
}

.comprobante-pagos {
    font-size: large;
    color: black;
}

.label-options {
    font-size: large;
    color: black;
}

.cupon-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.header-datos-bancarios {
    height: 73px;
}

.button-datos-bancarios {
    display: flex;
    justify-content: flex-end;
    margin-right: 70px;
}

.list-datos-bancarios {
    margin-left: 15px;
}

.data-datos-bancarios {}

.title-datos-bancarios {
    color: gray;
    margin: 0;
}

.description-datos-bancarios {
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
}

.desactivar-link {
    pointer-events: none;
    cursor: default;
}

select {
    display: flex !important;
}

/* ===== RESPONSIVE PORTAL / INSCRIPCIONES / PAGOS DIFERIDOS ===== */

.table-responsive {
    width: 90%;
    margin: 0 auto;
}

.table-responsive .tabla-ventas,
.table-responsive .tabla-inscripciones {
    width: 100%;
    margin-left: 0;
}

@media only screen and (max-width: 992px) {
    .tabla-inscripciones {
        width: 90%;
        margin-left: 5%;
    }
}

@media only screen and (max-width: 600px) {
    .table-responsive {
        width: 100%;
        overflow-x: visible;
    }

    /* Romper el modelo de tabla del navegador */
    .tabla-ventas,
    .tabla-inscripciones {
        display: block !important;
        width: 100% !important;
        margin-left: 0 !important;
        border: none !important;
        white-space: normal !important;
    }

    .tabla-ventas thead,
    .tabla-inscripciones thead {
        display: none !important;
    }

    .tabla-ventas tbody,
    .tabla-inscripciones tbody {
        display: block !important;
        width: 100%;
    }

    /* Cada fila se convierte en una tarjeta */
    .tabla-ventas tbody tr,
    .tabla-inscripciones tbody tr {
        display: block !important;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        margin-bottom: 16px;
        padding: 4px 12px;
        background: #fff;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    /*
     * :not(.ng-hide) es clave: evita que display:flex !important
     * sobreescriba el display:none !important que AngularJS aplica
     * con ng-show/ng-hide (que usa la clase .ng-hide).
     */
    .tabla-ventas td:not(.ng-hide),
    .tabla-inscripciones td:not(.ng-hide) {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 10px 4px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 14px;
        min-height: 44px;
        white-space: normal !important;
    }

    .tabla-ventas td:last-child,
    .tabla-inscripciones td:last-child {
        border-bottom: none;
    }

    /* Etiqueta de columna generada desde data-label */
    .tabla-ventas td[data-label]::before,
    .tabla-inscripciones td[data-label]::before {
        content: attr(data-label) ":";
        font-weight: 600;
        color: #721a32;
        margin-right: 12px;
        flex-shrink: 0;
        min-width: 110px;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.4px;
    }

    .tabla-ventas button,
    .tabla-inscripciones button {
        width: 100%;
        white-space: normal;
        font-size: 13px;
        margin: 0;
    }

    .tabla-ventas select {
        width: 100%;
        max-width: 100%;
        font-size: 14px;
    }

    .tabla-ventas input[type="file"] {
        max-width: 100%;
        font-size: 0;
    }

    .tabla-ventas input[type="file"]::-webkit-file-upload-button,
    .tabla-ventas input[type="file"]::file-selector-button {
        font-size: 12px;
    }

    .lista-titulo {
        font-size: 1.3rem;
        padding: 0 10px;
    }
}

.importe-usd {
    color: rgb(141, 141, 141);
    font-size: 12px;
}

/* ===== ESTILOS VALIDADOR SIMPLIFICADOS ===== */

.validador-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #AA122E 0%, #721a32 100%);
    font-family: 'Roboto', 'Helvetica Neue', sans-serif;
}

.validador-header {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d4d4d4;
    text-align: center;
    padding: 40px 20px;
    color: #AA122E;
}

.validador-logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
}

.validador-seccion-titulo {
    font-size: 1.4rem;
    font-weight: 400;
    color: #AA122E;
    border-bottom: 1px solid #d6d6d6;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.validador-contenido {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.validador-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 30px;
}

.validador-form-group {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* centra label + texto */
}

.validador-label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    text-align: center;
}

/* Texto mostrado como “campo” de solo lectura */
.validador-campo {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 32px;
    line-height: 1.2;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #fafafa;
}

.validador-error {
    background: #ffebee;
    color: #f44336;
    padding: 12px 16px;
    border-radius: 4px;
    margin: 15px 0;
    border-left: 4px solid #f44336;
    font-size: 14px;
}

.validador-exito {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 16px;
    border-radius: 4px;
    border-left: 4px solid #4caf50;
    margin-bottom: 25px;
    font-weight: 500;
}

.validador-datos {
    background: #f8f9fa;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    padding: 30px;
    margin: 20px 0;
}

.validador-titulo {
    color: #AA122E;
    text-align: center;
}

.validador-titulo-principal {
    font-size: 2.5rem;
    font-weight: 600;
}

.validador-titulo-datos {
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 1px solid #d6d6d6;
}

.validador-dato {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.validador-dato:last-child {
    border-bottom: none;
}

.validador-dato-label {
    font-weight: 600;
    color: #333;
    min-width: 150px;
}

.validador-dato-valor {
    color: #555;
    text-align: right;
    flex: 1;
    font-weight: 500;
}

.validador-monto-total {
    background: #AA122E;
    color: white !important;
    padding: 15px;
    margin: 15px -15px;
    border-radius: 4px;
}

.validador-monto-total .validador-dato-label,
.validador-monto-total .validador-dato-valor {
    color: white !important;
    font-size: 1.1rem;
    font-weight: bold;
}

/* Estados de validación */
.validador-estado-validacion {
    margin: 20px 0;
}

.validador-estado-item {
    padding: 10px;
    margin: 5px 0;
    border-radius: 4px;
    background: #f8f9fa;
    color: #666;
}

/* reCAPTCHA */
.validador-recaptcha-section {
    margin: 25px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.validador-recaptcha-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.validador-boton-container {
    display: flex;
    justify-content: center;
    margin: 25px 0 15px 0;
}

/* BOTÓN PRINCIPAL CON COLOR ROJO  */
.validador-boton-validar {
    background-color: #721a32 !important;
    color: white !important;
    border: none !important;
    padding: 12px 30px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    min-width: 200px !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 8px rgba(170, 18, 46, 0.4) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.validador-boton-validar:hover:not(:disabled) {
    background-color: #721a32 !important;
    box-shadow: 0 8px 16px rgba(236, 6, 48, 0.4) !important;
}

.validador-boton-validar:disabled {
    background-color: #9e9e9e !important;
    color: white !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    opacity: 0.7 !important;
}

/* carga */
.validador-cargando {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

.validador-cargando-small {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media only screen and (max-width: 992px) {
    .validador-card {
        padding: 25px;
        margin: 0 10px 30px 10px;
    }

    .validador-boton-validar {
        min-width: 100% !important;
        max-width: 300px !important;
    }

    .validador-dato {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .validador-dato-label {
        min-width: auto;
    }

    .validador-dato-valor {
        text-align: left;
    }
}