/* ==================================================
   BONOS – ESTILO GENERAL
================================================== */

.roh-bonos-grid {
    max-width: 900px;
    margin: 40px auto 20px;
}

.roh-bonos-grid h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #111827;
    letter-spacing: -0.3px;
}

/* ==================================================
   FILA DE BONO (UNA LÍNEA)
================================================== */

.roh-bono-card {
    display: flex;
    align-items: center;
    gap: 16px;

    background: #ffffff;
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 14px;

    box-shadow: 0 8px 18px rgba(0,0,0,.08);
    border-left: 5px solid #22c55e;
}

/* ==================================================
   SITIO
================================================== */

.roh-bono-card .titulo {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    min-width: 190px;

    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==================================================
   MES / AÑO (RESALTADO)
================================================== */

.roh-bono-card .mini {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #15803d;
    background: #dcfce7;
    padding: 5px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

/* ==================================================
   BARRA DE PROGRESO
================================================== */

.roh-progress {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.roh-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    border-radius: 999px;
    transition: width .3s ease;
}

/* ==================================================
   TEXTO HORAS
================================================== */

.roh-bono-card p:last-child {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}

/* ==================================================
   BOTÓN COMPRAR MÁS BONOS
================================================== */

.roh-bonos-cta-extra {
    margin-top: 36px;
    text-align: center;
}

.roh-btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all .25s ease;
}

.roh-btn-secondary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(34,197,94,.35);
}

.roh-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(34,197,94,.45);
}

/* ==================================================
   MÓVIL – FORMATO SUTIL
================================================== */

@media (max-width: 768px) {

    .roh-bonos-grid {
        margin: 20px 14px;
    }

    .roh-bonos-grid h2 {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .roh-bono-card {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px;
    }

    /* Sitio */
    .roh-bono-card .titulo {
        font-size: 14px;
        order: 1;
    }

    /* Mes */
    .roh-bono-card .mini {
        order: 2;
    }

    /* Texto horas usadas */
    .roh-bono-card p:last-child {
        order: 3;
        font-size: 13px;
    }

    /* Barra SIEMPRE debajo */
    .roh-progress {
        flex:none;
        order: 4;
        width: 100%;
        margin-top: 4px;
    }
}



/* ===== FORMULARIO COMPRA BONO ===== */
.roh-form-bono {
    max-width: 420px;
    margin: 30px auto 0;
    padding: 24px 22px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Texto informativo */
.roh-form-bono .mini {
    font-size: 14px;
    font-weight: 600;
    color: #065f46;
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
    box-shadow: 0 6px 14px rgba(16,185,129,.18);
    position: relative;
}

/* Icono decorativo */
.roh-form-bono .mini::before {
    content: "🎟";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}

/* Ajuste de texto por el icono */
.roh-form-bono .mini {
    padding-left: 44px;
}


/* Labels */
.roh-form-bono label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-top: 4px;
}

/* Selects */
.roh-form-bono select {
    appearance: none;
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%236b7280' viewBox='0 0 20 20'%3E%3Cpath d='M5.25 7.5L10 12.25 14.75 7.5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
    transition: border .2s ease, box-shadow .2s ease;
}

.roh-form-bono select:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34,197,94,.15);
}

/* Botón comprar */
.roh-form-bono .roh-btn-primary {
    margin-top: 18px;
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 14px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(34,197,94,.35);
    transition: transform .15s ease, box-shadow .15s ease;
}

.roh-form-bono .roh-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(34,197,94,.45);
}

/* ===== MÓVIL ===== */
@media (max-width: 768px) {
    .roh-form-bono {
        margin: 20px 14px 0;
        padding: 18px;
        border-radius: 14px;
    }

    .roh-form-bono .roh-btn-primary {
        font-size: 14px;
        padding: 13px;
    }
        .roh-form-bono .mini {
        font-size: 13px;
        padding: 12px 14px 12px 40px;
    }
}


/* ===== SIN BONOS ===== */
.roh-no-bonos {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    background: linear-gradient(135deg, #fdfdfd, #f6f7f9);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    max-width: 520px;
}

/* Icono */
.roh-no-bonos-icon {
    font-size: 38px;
    width: 64px;
    height: 64px;
    background: #ffecec;
    color: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contenido */
.roh-no-bonos-content h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
}

.roh-no-bonos-content p {
    margin: 0 0 14px;
    font-size: 14px;
    color: #6c757d;
    line-height: 1.4;
}

/* Botón */
.roh-no-bonos-btn {
    display: inline-block;
    padding: 10px 18px;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 10px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.roh-no-bonos-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(39,174,96,.35);
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
    .roh-no-bonos {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .roh-no-bonos-icon {
        margin-bottom: 6px;
    }
}

/* ===== LOGIN REQUERIDO ===== */
.roh-login-required {
    max-width: 560px;
    margin: 20px auto;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(0,0,0,.1);
    overflow: hidden;
}

/* ALERTA SUPER DESTACADA */
.roh-login-alert {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    padding: 16px 20px;
    text-align: center;
    letter-spacing: .2px;
}

/* CUERPO */
.roh-login-body {
    padding: 20px 22px 24px;
    text-align: center;
}

.roh-login-body p {
    margin: 0 0 18px;
    font-size: 0.9em;
    color: #374151;
    line-height: 1.6;
}

/* BOTÓN */
.roh-login-btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.roh-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(79,70,229,.4);
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
    .roh-login-alert {
        font-size: 15px;
        padding: 14px;
    }

    .roh-login-body {
        padding: 18px;
    }
}

.roh-bono-cta a {
  background: #3ac843;
}

