﻿body {
    font-family: 'Roboto', sans-serif !important;
}

.table-separate {
    border-spacing: 0;
    border-collapse: separate;
}

.bordered {
    border: solid #ccc 1px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    -webkit-box-shadow: 0 3px #ccc;
    -moz-box-shadow: 0 3px #ccc;
    box-shadow: 0 3px #ccc;
    border-block-color: #0a3d5c !important;
    border-inline-color: #2A4C81 !important;
    background-color: #0a3d5c;
}

.noSeleccionado {
    opacity: .5 !important;
}

.bg-orange {
    background-color: #FF8000;
}


/* ? ----- Cuenta Regresiva ----- */
#cuenta {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.simply-section {
    background: #fb3 !important; /* amarillo */
    color: #0a3d5c !important; /* azul sehs */
    width: 70px;
    height: 70px;
    margin: 0 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.simply-amount {
    display: block;
    font-size: 20px;
    font-weight: 500;
    padding-bottom: 3px !important;
}

.simply-word {
    font-weight: 200;
    font-size: 15px;
}
/* ? ---------------------------- */

/* Nuevos estilos para botones selectores */
.type-btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: #f8f9fa;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

    .type-btn:hover {
        background: #e9ecef;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

.bg-primary {
    background-color: #005bb7 !important;
}

.active-btn {
    background: #0a3d5c !important; /*azul*/
    color: white !important;
    border-color: #0a3d5c !important;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3) !important;
}

.btn-indicator {
    font-weight: bold;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efecto de "pulsación" al hacer clic */
.type-btn:active {
    transform: scale(0.98);
}

/* ------------------- */
/* ESTILOS TABLA MODERNA */
/* ------------------- */

/* responsive rotate small laptop */
@media (max-width: 1400px) {
    .table th.rotate-90 {
        writing-mode: vertical-rl;
        white-space: nowrap;
        /* Eliminamos transform del CSS para controlarlo via JS */
    }
}

.modern-table-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    /*background: white;*/
    border: 1px solid #eaeaea;
    min-height: 175px; /*tamaño de una tabla con 1 registro*/
}

.modern-table {
    margin-bottom: 0;
    width: 100%;
    border-collapse: collapse;
}

.modern-table-header {
    background: white;
    color: #0a3d5c !important;
}

    .modern-table-header th {
        border: none;
        padding: 14px 12px;
        border-bottom: 1px solid #e2e8f0;
        font-weight: 600;
        cursor: auto;
        position: relative;
        padding-right: 20px;
        text-align: center;
        vertical-align: middle !important;
        font-size: 13px;
    }

        .modern-table-header th i.fas {
            position: absolute;
            right: 5px;
            top: 50%;
            transform: translateY(-50%);
        }

        /* .modern-table-header th:hover {
            background-color: #005bb7;
        }*/

        .modern-table-header th.text-center {
            text-align: center;
        }

.modern-table-row {
    transition: background-color 0.2s ease;
    background: white;
    position: relative;
    vertical-align: middle !important;
    font-size: 11px;
}

    .modern-table-row:hover {
        background-color: #f8fafc;
    }

    .modern-table-row td {
        padding: 12px;
        vertical-align: middle;
        border-bottom: 1px solid #f1f5f9;
        color: #4a5568;
        min-width: 80px;
    }

        .modern-table-row td.text-center {
            text-align: center;
        }

    /* Efecto sutil al pasar el mouse */

    .modern-table-row:hover::after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 2px;
        background: #4299e1;
    }

    /* Efecto hover mejorado */
    .modern-table-row:hover td {
        background-color: #f0f7ff;
    }

    /* Alineación vertical para celdas con múltiples líneas */
    .modern-table-row td {
        vertical-align: top;
        padding-top: 12px;
        padding-bottom: 12px;
    }

.btn-modern-action {
    background: #4299e1;
    color: white;
    border: none;
    border-radius: 4px;
    /*padding: 6px 12px;*/
    font-size: 0.85rem;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .btn-modern-action:hover {
        background: #3182ce;
    }

    .btn-modern-action i {
        margin-right: 6px;
    }

/* Ajustes para responsividad */
@media (max-width: 1200px) {
    .modern-table-container {
        font-size: 0.9rem;
    }

    .modern-table-header th,
    .modern-table-row td {
        padding: 10px 8px;
    }

    .btn-modern-action {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
}


.btn {
    font-size: 11px;
}

.modal-content.customContent {
    padding: 10px;
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 0px;
}

.btn-indicator {
    font-weight: bold;
    animation: fadeIn 0.3s ease;
}

/* boton notificaciones flotante */

.sound-toggle-wrapper {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 1000;
}

.sound-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

    .sound-toggle-btn:hover {
        background: rgba(0, 0, 0, 0.3);
        transform: scale(1.1);
    }

    .sound-toggle-btn.sound-on {
        background: #4CAF50;
        color: white;
    }

    .sound-toggle-btn:focus {
        outline: none;
    }