/* Aumentar tamaño de fuente general en móviles */
@media (max-width: 768px) {
    body {
        font-size: 16px !important;
    }

    /* Aumentar tamaño de textos pequeños */
    .fs-7,
    .fs-8,
    .fs-9 {
        font-size: 0.95rem !important;
    }

    .fs-6 {
        font-size: 1.05rem !important;
    }

    .fs-5 {
        font-size: 1.15rem !important;
    }

    .fs-4 {
        font-size: 1.35rem !important;
    }

    .fs-3 {
        font-size: 1.55rem !important;
    }

    .fs-2 {
        font-size: 1.85rem !important;
    }

    /* Aumentar tamaño de badges */
    .badge {
        font-size: 0.9rem !important;
        padding: 0.5rem 0.75rem !important;
    }

    .badge-sm {
        font-size: 0.85rem !important;
        padding: 0.4rem 0.6rem !important;
    }

    /* Aumentar tamaño de botones */
    .btn {
        font-size: 1.35rem !important;
        padding: 0.75rem 1.25rem !important;
    }

    .btn-sm {
        font-size: 0.95rem !important;
        padding: 0.6rem 1rem !important;
    }

    /* Aumentar tamaño de inputs */
    .form-control,
    .form-select {
        font-size: 1rem !important;
        padding: 0.75rem 1rem !important;
    }

    /* Aumentar tamaño de labels */
    .form-label {
        font-size: 1rem !important;
    }

    /* Aumentar tamaño de textos en cards */
    .card .fw-bold {
        font-size: 1.1rem !important;
    }

    /* Aumentar tamaño de textos en modales */
    .modal-body {
        font-size: 1rem !important;
    }

    .modal-title {
        font-size: 1.5rem !important;
    }

    /* Aumentar tamaño de menú de navegación */
    .menu-link {
        font-size: 1.5rem !important;
        padding: 0.85rem 1rem !important;
    }

    /* Aumentar tamaño de breadcrumbs */
    .breadcrumb-item {
        font-size: 0.95rem !important;
    }

    /* Aumentar tamaño de alertas */
    .alert {
        font-size: 1rem !important;
    }

    /* Aumentar tamaño de tablas */
    .table {
        font-size: 1rem !important;
    }

    .table th,
    .table td {
        padding: 0.85rem !important;
    }

    /* Aumentar tamaño de títulos de páginas */
    .page-heading {
        font-size: 1.75rem !important;
    }

    /* Aumentar tamaño de links */
    a {
        font-size: inherit;
    }

    /* Aumentar tamaño de placeholder */
    ::placeholder {
        font-size: 0.95rem !important;
    }
}

/* Estilos generales para todas las pantallas */
body {
    font-size: 15px;
}

/* Mejorar legibilidad general */
.text-gray-400,
.text-gray-500,
.text-gray-600,
.text-gray-700 {
    color: #5a5a5a !important;
}

.text-muted {
    color: #6c757d !important;
}

/* Cobrar slide-to-confirm */
.cobrar-slide-wrap {
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.cobrar-slide-track {
    position: relative;
    height: 90px !important;
    background: #f1f3f5;
    border-radius: 8px;
    border: 2px solid #dee2e6;
    overflow: hidden;
}

.cobrar-slide-fill {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    border-radius: 8px;
    pointer-events: none;
}

.cobrar-slide-thumb {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 74px;
    height: 74px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    z-index: 2;
    transition:
        box-shadow 0.2s,
        background 0.3s;

    i {
        font-size: 5rem !important;
    }
}

.cobrar-slide-thumb:active {
    cursor: grabbing;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.28);
}

.cobrar-slide-thumb.cobrar-slide-locked {
    cursor: default;
    background: #198754;
}

.cobrar-slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #6c757d;
    font-weight: 600;
    font-size: 2rem;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1;
    letter-spacing: 0.02em;
}

.cobrar-amount-input {
    height: 76px;
    border-radius: 8px;
    border: 2px solid #dee2e6;
    background: #f1f3f5;
    font-size: 3rem !important;
    font-weight: 700;
    text-align: center;
    color: #181c32;
    padding: 0 28px;
    letter-spacing: 0.04em;
    box-shadow: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    width: 100%;
}

.cobrar-amount-input:focus {
    border-color: #009ef7;
    box-shadow: 0 0 0 4px rgba(0, 158, 247, 0.15);
    outline: none;
    background: #fff;
}

.cobrar-amount-input::placeholder {
    color: #b5b5c3;
    font-weight: 500;
    font-size: 3rem !important;
}

.cobrar-quick-amounts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cobrar-quick-amount {
    min-height: 80px;
    font-size: 1.75rem;
    font-weight: 700;
    border-radius: 12px;
    border: 2px solid #dee2e6;
}

.cobrar-quick-amount-badge {
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.2em 0.5em;
    background: #009ef7;
    color: #fff;
    border-radius: 6px;
    line-height: 1.2;
}

.cobrar-success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cobrar-success-text {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.cobrar-blocked-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cobrar-blocked-overlay--report {
    background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
}

.cobrar-blocked-overlay--warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
}

.cobrar-blocked-overlay--warning .cobrar-blocked-text {
    color: #1e2125;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.45);
}

.cobrar-blocked-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: min(42rem, 92vw);
    padding: 2rem 1.5rem 3rem;
    box-sizing: border-box;
}

.cobrar-blocked-text {
    display: block;
    width: 100%;
    font-size: 4rem !important;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin: 0 0 2.25rem;
    padding: 0;
}

.cobrar-blocked-inner .btn {
    flex-shrink: 0;
    margin-top: 0;
}

.cargar-payment-method {
    height: 60px;
}
