.spp-auth-main { max-width: 620px; margin: 0 auto; padding: 50px 24px; }
.spp-auth-card {
    background: #fff;
    border: 1px solid var(--spp-border);
    border-radius: 12px;
    padding: 30px 34px;
}
.spp-auth-card--narrow { max-width: 420px; margin: 0 auto; }
.spp-auth-card h1 { font-size: 22px; margin: 0 0 6px; }
.spp-auth-card label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin: 14px 0 6px;
}
.spp-auth-card input[type=text],
.spp-auth-card input[type=email],
.spp-auth-card input[type=password],
.spp-auth-card input[type=number],
.spp-auth-card textarea,
.spp-auth-card input[type=file] {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid var(--spp-border);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}
.spp-auth-card input:focus, .spp-auth-card textarea:focus {
    outline: none;
    border-color: var(--spp-blue);
    box-shadow: 0 0 0 1px var(--spp-blue);
}
.spp-field-row { display: flex; gap: 14px; }
.spp-field-row > label { flex: 1; }
.spp-btn--block { width: 100%; border: 0; margin-top: 22px; cursor: pointer; font-size: 15px; padding: 12px; }
.spp-error {
    background: #fdecea;
    border: 1px solid #f3b6ae;
    color: #7a271a;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13.5px;
    margin-bottom: 16px;
}
.spp-success-box {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13.5px;
    margin-bottom: 16px;
}
.spp-hint { color: #8a8f98; font-size: 12.5px; }

.spp-quote-box {
    background: var(--spp-bg);
    border: 1px solid var(--spp-border);
    border-radius: 8px;
    padding: 14px 16px;
    margin: 14px 0;
}
.spp-quote-row { display: flex; justify-content: space-between; font-size: 14px; padding: 3px 0; }
.spp-quote-total { border-top: 1px solid var(--spp-border); margin-top: 6px; padding-top: 8px; font-weight: 700; font-size: 16px; }

.spp-manual-box {
    background: #eef2ff;
    border: 1px solid #c9d3f5;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 13.5px;
    margin: 14px 0;
}

.spp-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--spp-border); border-radius: 10px; overflow: hidden; }
.spp-table th, .spp-table td { text-align: left; padding: 12px 14px; font-size: 13.5px; border-bottom: 1px solid var(--spp-border); }
.spp-table thead th { background: var(--spp-blue); color: #fff; font-weight: 700; }
.spp-table tbody tr:last-child td { border-bottom: 0; }

.spp-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.spp-badge--awaiting_payment { background: #fef3c7; color: #92400e; }
.spp-badge--paid { background: #dcfce7; color: #166534; }
.spp-badge--cancelled { background: #fee2e2; color: #991b1b; }

/* ── Tarjetas de servicio (datos de conexión de la radio) ── */
.spp-service-cards { display: grid; gap: 16px; margin-bottom: 30px; }
.spp-service-card {
    background: #fff;
    border: 1px solid var(--spp-border);
    border-radius: 10px;
    overflow: hidden;
}
.spp-service-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--spp-border);
    background: var(--spp-bg);
}
.spp-service-data { padding: 6px 18px; }
.spp-service-data > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid #eef1f5;
    font-size: 13.5px;
}
.spp-service-data > div:last-child { border-bottom: 0; }
.spp-service-data span { color: var(--spp-ink-soft); }
.spp-service-data code {
    background: #eef1f5;
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 13px;
    user-select: all;
}
.spp-service-card__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 12px 18px;
    background: var(--spp-bg);
    border-top: 1px solid var(--spp-border);
    font-size: 13px;
}
.spp-service-changepass {
    border-top: 1px solid var(--spp-border);
    padding: 12px 18px;
    font-size: 13px;
}
.spp-service-changepass summary {
    cursor: pointer;
    color: var(--spp-blue);
    font-weight: 600;
}
.spp-service-changepass form {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.spp-service-changepass input {
    flex: 1;
    min-width: 200px;
    border: 1px solid var(--spp-border);
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 13.5px;
    font-family: inherit;
}
.spp-service-changepass .spp-btn { padding: 8px 18px; font-size: 13px; }

/* Botones de acceso rápido del área de cliente */
.spp-quick-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.spp-quick-actions .spp-btn { padding: 10px 20px; font-size: 14px; }

/* ===== Iniciar sesión (estilo WHMCS) ===== */
.spp-login-main {
    background: #fff;
    min-height: calc(100vh - 110px);
    padding: 60px 20px 80px;
}
.spp-login-box {
    max-width: 600px;
    margin: 0 auto;
}
.spp-login-title {
    margin: 0;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: #2b2f33;
}
.spp-login-sub {
    margin: 6px 0 0;
    font-size: 22px;
    font-weight: 300;
    color: #8a9199;
    padding-bottom: 18px;
    border-bottom: 1px solid #e3e7eb;
}
.spp-login-form { margin-top: 22px; }
.spp-login-field { margin-bottom: 18px; }
.spp-login-field label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #2b2f33;
    margin-bottom: 7px;
}
.spp-login-field input {
    width: 100%;
    border: 1px solid #ccd2d8;
    border-radius: 4px;
    background: #fff;
    padding: 11px 13px;
    font-size: 15px;
    font-family: inherit;
    color: #2b2f33;
}
.spp-login-field input::placeholder { color: #a9b0b7; }
.spp-login-field input:focus {
    outline: none;
    border-color: #2a6496;
    box-shadow: 0 0 0 3px rgba(42, 100, 150, .12);
}
.spp-login-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #4a5056;
    margin: 4px 0 22px;
    cursor: pointer;
}
.spp-login-check input { width: 15px; height: 15px; margin: 0; cursor: pointer; }
.spp-login-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    padding-left: 100px;
}
.spp-login-btn {
    background: #337ab7;
    border: 1px solid #2e6da4;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    padding: 11px 22px;
    border-radius: 4px;
    cursor: pointer;
}
.spp-login-btn:hover { background: #2d6da3; }
.spp-login-link {
    display: inline-block;
    background: #fff;
    border: 1px solid #ccd2d8;
    color: #2b2f33;
    font-size: 15px;
    padding: 11px 22px;
    border-radius: 4px;
    text-decoration: none;
}
.spp-login-link:hover { background: #f4f6f9; }
.spp-login-foot {
    margin-top: 26px;
    font-size: 14px;
    color: #667085;
}
.spp-login-foot a { color: #337ab7; }
.spp-login-main .spp-error {
    margin: 20px 0 0;
    background: #fdecea;
    border: 1px solid #f5c2bd;
    color: #a3251a;
    padding: 11px 14px;
    border-radius: 4px;
    font-size: 14px;
}
@media (max-width: 640px) {
    .spp-login-title { font-size: 30px; }
    .spp-login-sub { font-size: 18px; }
    .spp-login-actions { padding-left: 0; }
}

/* ===== Pantalla "Configurar" del checkout ===== */
.spp-cfg {
    max-width: 1240px;
    margin: 0 auto;
    padding: 34px 20px 60px;
    display: grid;
    grid-template-columns: 215px 1fr 330px;
    gap: 28px;
    align-items: start;
}
.spp-cfg__title {
    margin: 0;
    font-size: 40px;
    font-weight: 300;
    color: #2a6496;
    line-height: 1.1;
    padding-bottom: 14px;
    border-bottom: 1px solid #e3e7eb;
}
.spp-cfg__lead { margin: 16px 0 20px; font-size: 15px; color: #4a5056; }

.spp-cfg__panel {
    background: #f7f7f7;
    border: 1px solid #e3e7eb;
    border-radius: 3px;
    padding: 20px 22px 24px;
    margin-bottom: 26px;
}
.spp-cfg__panel h2 {
    margin: 0 0 16px;
    font-size: 21px;
    font-weight: 400;
    color: #2b2f33;
}
/* Características en viñetas, con sangría, como una lista de verdad */
.spp-cfg__features { list-style: disc; margin: 0; padding: 0 0 0 20px; }
.spp-cfg__features li {
    font-size: 14.5px;
    color: #4a5056;
    padding: 7px 0;
    line-height: 1.5;
}
.spp-cfg__features li::marker { color: #8a9199; }

.spp-cfg__field { margin-bottom: 20px; }
.spp-cfg__field > label {
    display: block;
    font-size: 15px;
    color: #8a7a52;
    margin-bottom: 7px;
}
.spp-cfg__field select,
.spp-cfg__field input[type="number"],
.spp-cfg__field input[type="text"],
.spp-cfg__field input[type="file"],
.spp-cfg__field textarea {
    font: inherit;
    font-size: 15px;
    padding: 10px 12px;
    border: 1px solid #c8ced6;
    border-radius: 4px;
    background: #fff;
    color: #2b2f33;
    box-sizing: border-box;
}
.spp-cfg__field select { min-width: 240px; }
.spp-cfg__field input[type="number"] { width: 120px; }
.spp-cfg__field textarea { width: 100%; }
.spp-cfg__coupon { display: flex; gap: 8px; max-width: 420px; }
.spp-cfg__coupon input { flex: 1; }
.spp-cfg__radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
    font-size: 15px;
    margin-right: 18px;
}
.spp-cfg__radio input { width: auto; margin: 0; }

/* Sumario de pedido, a la derecha */
.spp-cfg__side { position: sticky; top: 20px; }
.spp-sumario {
    border: 1px solid #d4d4d4;
    border-radius: 3px;
    background: #f7f7f7;
    overflow: hidden;
}
.spp-sumario__head {
    background: #6d6d6d;
    color: #fff;
    text-align: center;
    padding: 14px 16px;
    font-size: 19px;
    font-weight: 400;
}
.spp-sumario__body { padding: 16px 18px 20px; }
.spp-sumario__plan { margin: 0; font-size: 15.5px; font-weight: 700; color: #2b2f33; }
.spp-sumario__cat { margin: 2px 0 12px; font-size: 14px; font-style: italic; color: #6b7280; }

.spp-sumario__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: #4a5056;
    padding: 4px 0;
}
.spp-sumario__row--unit {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 9px 0;
    margin-bottom: 9px;
}
.spp-sumario__row--unit span:first-child { color: #2a6496; }
.spp-sumario__group { border-bottom: 1px solid #ddd; padding-bottom: 10px; }

.spp-sumario__total {
    margin: 14px 0 0;
    text-align: right;
    font-size: 30px;
    font-weight: 300;
    color: #2b2f33;
    line-height: 1.1;
}
.spp-sumario__nota { margin: 2px 0 0; text-align: right; font-size: 13px; color: #8a9199; }

.spp-cfg__continuar {
    display: block;
    width: 100%;
    margin-top: 20px;
    background: #337ab7;
    border: 1px solid #2e6da4;
    color: #fff;
    font: inherit;
    font-size: 19px;
    padding: 14px 20px;
    border-radius: 4px;
    cursor: pointer;
}
.spp-cfg__continuar:hover { background: #2d6da3; }

/* Barra lateral de acciones */
.spp-cfg__card {
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    margin-bottom: 18px;
    overflow: hidden;
}
.spp-cfg__card-head {
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    padding: 12px 14px;
    font-size: 15px;
    color: #4a5056;
}
.spp-cfg__card-head::before { content: '+ '; color: #8a9199; }
.spp-cfg__card-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    font-size: 14px;
    color: #337ab7;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
}
.spp-cfg__card-links a:last-child { border-bottom: 0; }
.spp-cfg__card-links a:hover { background: #f7f9fb; }
.spp-cfg__card-links a.is-active,
.spp-cfg__card-links a.is-active:hover {
    background: #3f4a52;
    color: #fff;
    font-weight: 600;
}
.spp-cfg__card-links a.is-active span { color: #fff; }
.spp-cfg__card-links span { color: #c2c7cd; font-size: 15px; }
.spp-cfg__card-body { padding: 13px 14px; }
.spp-cfg__card-body p { margin: 0 0 8px; font-size: 13.5px; color: #667085; line-height: 1.5; }
.spp-cfg__card-body a { font-size: 13.5px; color: #337ab7; word-break: break-all; }

@media (max-width: 1080px) {
    .spp-cfg { grid-template-columns: 1fr 320px; }
    .spp-cfg__nav { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
    .spp-cfg__nav .spp-cfg__card { margin-bottom: 0; }
}
@media (max-width: 880px) {
    .spp-cfg { grid-template-columns: 1fr; gap: 24px; }
    .spp-cfg__nav { grid-template-columns: 1fr; }
    .spp-cfg__side { position: static; }
    .spp-cfg__title { font-size: 30px; }
}

/* El checkout necesita todo el ancho: la caja estrecha de los formularios
   de entrar/registrarse le cortaba la columna del resumen. */
.spp-cfg-main { width: 100%; }

/* ===== Revisar y pagar (el carrito) ===== */
.spp-cart {
    max-width: 1240px;
    margin: 0 auto;
    padding: 34px 20px 60px;
    display: grid;
    grid-template-columns: 215px 1fr 330px;
    gap: 28px;
    align-items: start;
}
.spp-cart__table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
    background: #f7f7f7;
}
.spp-cart__table thead th {
    background: #0a5a8c;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    text-align: left;
    padding: 12px 14px;
}
.spp-cart__table td {
    padding: 16px 14px;
    vertical-align: top;
    border-bottom: 2px solid #0a5a8c;
}
.spp-cart__qty-col { width: 110px; text-align: center; }
.spp-cart__price-col { width: 190px; text-align: center; }
.spp-cart__x-col { width: 44px; text-align: center; }

.spp-cart__plan { font-size: 18px; color: #2b2f33; }
.spp-cart__edit { font-size: 13.5px; color: #337ab7; text-decoration: none; margin-left: 8px; }
.spp-cart__edit:hover { text-decoration: underline; }
.spp-cart__cat { display: block; font-size: 14px; color: #4a5056; margin-top: 3px; }

.spp-cart__qtyform input[type="number"] {
    width: 72px;
    font: inherit;
    font-size: 15px;
    padding: 8px 9px;
    border: 1px solid #c8ced6;
    border-radius: 3px;
    text-align: center;
    background: #fff;
}
.spp-cart__qtyform button {
    display: block;
    margin: 6px auto 0;
    font: inherit;
    font-size: 12px;
    padding: 4px 10px;
    border: 1px solid #c8ced6;
    border-radius: 3px;
    background: #eceff2;
    color: #4a5056;
    cursor: pointer;
}
.spp-cart__qtyform button:hover { background: #e2e6ea; }

.spp-cart__price { display: block; font-size: 20px; color: #2b2f33; }
.spp-cart__cycle { display: block; font-size: 13px; color: #6b7280; margin-top: 2px; }
.spp-cart__x-col a { color: #2b2f33; text-decoration: none; font-size: 17px; }
.spp-cart__x-col a:hover { color: #b4232c; }

/* La X de quitar es un botón de verdad (manda un POST), pero se ve como
   el enlace discreto que tiene WHMCS. */
.spp-cart__quitar {
    border: 0;
    background: none;
    padding: 4px 6px;
    margin: 0;
    font: inherit;
    font-size: 17px;
    line-height: 1;
    color: #2b2f33;
    cursor: pointer;
    border-radius: 3px;
}
.spp-cart__quitar:hover { color: #fff; background: #b4232c; }
.spp-cart__quitar:focus-visible { outline: 2px solid #0a5a8c; outline-offset: 1px; }
.spp-cart__qty-fija { font-size: 16px; color: #4a5056; }

.spp-cart__vaciar { margin: 0; text-align: right; }
.spp-cart__vaciar form { display: inline; }
.spp-cart__vaciar-btn {
    display: inline-block;
    border: 0;
    background: #0a5a8c;
    color: #fff;
    text-decoration: none;
    font: inherit;
    font-size: 14px;
    padding: 9px 16px;
    border-radius: 3px;
    cursor: pointer;
}
.spp-cart__vaciar-btn:hover { background: #084a73; }

/* Carrito sin nada dentro. */
.spp-cart__vacio {
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    padding: 40px 24px;
    text-align: center;
}
.spp-cart__vacio-icono { font-size: 46px; line-height: 1; margin-bottom: 10px; }
.spp-cart__vacio h2 { margin: 0 0 6px; font-size: 21px; color: #2b2f33; }
.spp-cart__vacio p { margin: 0 0 14px; color: #6b7280; font-size: 15px; }
.spp-cart__vacio p:last-child { margin-bottom: 0; }

/* Contador de productos en el enlace del carrito, arriba. */
.spp-site-cart__n {
    display: inline-block;
    min-width: 19px;
    margin-left: 6px;
    padding: 1px 5px;
    border-radius: 10px;
    background: #b4232c;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    line-height: 17px;
}

.spp-cart__promo { margin-top: 18px; }
.spp-cart__promo-tab {
    display: inline-block;
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-bottom: 0;
    border-radius: 4px 4px 0 0;
    padding: 11px 18px;
    font-size: 14.5px;
    color: #4a5056;
}
.spp-cart__promo-body {
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 0 4px 4px 4px;
    padding: 18px;
}
.spp-cart__promo-body input[type="text"],
.spp-cart__promo-body button[type="submit"] {
    display: block;
    width: 100%;
    font: inherit;
    font-size: 15px;
    padding: 11px 13px;
    border: 1px solid #ccd2d8;
    border-radius: 3px;
    background: #fff;
    box-sizing: border-box;
}
.spp-cart__promo-body button[type="submit"] {
    margin-top: 10px;
    cursor: pointer;
    color: #4a5056;
}
.spp-cart__promo-body button[type="submit"]:hover { background: #f0f3f6; }

.spp-sumario__ciclo { font-style: italic; color: #6b7280; }
.spp-cart__comprar {
    display: block;
    width: 100%;
    margin-top: 18px;
    background: #5cb85c;
    border: 1px solid #4cae4c;
    color: #fff;
    font: inherit;
    font-size: 19px;
    padding: 14px 20px;
    border-radius: 4px;
    cursor: pointer;
}
.spp-cart__comprar:hover { background: #4cae4c; }
.spp-sumario__seguir { margin: 10px 0 0; text-align: center; font-size: 13.5px; }
.spp-sumario__seguir a { color: #337ab7; }

@media (max-width: 1080px) {
    .spp-cart { grid-template-columns: 1fr 320px; }
}
@media (max-width: 880px) {
    .spp-cart { grid-template-columns: 1fr; gap: 24px; }
    .spp-cart__price-col { width: 140px; }
}

/* El texto se escribe en mayúsculas, pero la ayuda del campo no:
   en mayúsculas se lee como un grito y cuesta entenderla. */
.spp-cart__promo-body input[type="text"]::placeholder,
.spp-cfg__coupon input::placeholder { text-transform: none; }

/* ===== Pagar / crear cuenta (último paso de la compra) ===== */
.spp-pagar-solo { max-width: 940px; margin: 0 auto; padding: 34px 20px 60px; }
.spp-pagar__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin: 16px 0 10px;
}
.spp-pagar__head p { margin: 0; font-size: 15px; color: #4a5056; }
.spp-pagar__yacuenta {
    flex: 0 0 auto;
    background: #5bc0de;
    border: 1px solid #46b8da;
    color: #fff;
    text-decoration: none;
    font-size: 14.5px;
    padding: 10px 18px;
    border-radius: 4px;
    white-space: nowrap;
}
.spp-pagar__yacuenta:hover { background: #46b8da; }

.spp-pagar__divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 26px 0 18px;
}
.spp-pagar__divider::before,
.spp-pagar__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e3e7eb;
}
.spp-pagar__divider span { font-size: 17px; color: #2a6496; }

.spp-pagar__grid { display: grid; gap: 14px; margin-bottom: 14px; }
.spp-pagar__grid--2 { grid-template-columns: 1fr 1fr; }
.spp-pagar__grid--3 { grid-template-columns: 1fr 1fr 1fr; }

/* Campo con el icono dentro, a la izquierda */
.spp-pagar__field { position: relative; margin-bottom: 14px; }
.spp-pagar__grid .spp-pagar__field { margin-bottom: 0; }
.spp-pagar__ico {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: .45;
    pointer-events: none;
}
.spp-pagar__field input,
.spp-pagar__field select {
    width: 100%;
    font: inherit;
    font-size: 15px;
    padding: 12px 13px 12px 36px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #2b2f33;
    box-sizing: border-box;
}
.spp-pagar__field input::placeholder { color: #a9b0b7; }
.spp-pagar__field input:focus,
.spp-pagar__field select:focus {
    outline: none;
    border-color: #2a6496;
    box-shadow: 0 0 0 3px rgba(42,100,150,.10);
}

/* Teléfono: prefijo pegado al número */
.spp-pagar__field--tel { display: flex; }
.spp-pagar__field--tel input:first-child {
    width: 86px;
    flex: 0 0 86px;
    padding-left: 13px;
    text-align: center;
    background: #f5f5f5;
    border-radius: 4px 0 0 4px;
}
.spp-pagar__field--tel input:last-child {
    padding-left: 13px;
    border-left: 0;
    border-radius: 0 4px 4px 0;
}

.spp-pagar__generar {
    font: inherit;
    font-size: 14px;
    padding: 11px 16px;
    border: 1px solid #ccd2d8;
    border-radius: 4px;
    background: #fff;
    color: #4a5056;
    cursor: pointer;
}
.spp-pagar__generar:hover { background: #f4f6f9; }
.spp-pagar__medidor {
    height: 26px;
    background: #f0f0f0;
    border: 1px solid #e3e7eb;
    border-radius: 4px;
    overflow: hidden;
}
.spp-pagar__medidor span {
    display: block;
    height: 100%;
    width: 0;
    transition: width .2s ease;
}
.spp-pagar__medidor span.es-debil { background: #d9534f; }
.spp-pagar__medidor span.es-media { background: #f0ad4e; }
.spp-pagar__medidor span.es-fuerte { background: #5cb85c; }
.spp-pagar__medidor-txt { margin: 6px 0 0; font-size: 13px; color: #8a7a52; text-align: right; }

.spp-pagar__pago { margin: 0 0 20px; font-size: 14.5px; color: #4a5056; }
.spp-pagar__btn {
    display: block;
    width: 100%;
    background: #5cb85c;
    border: 1px solid #4cae4c;
    color: #fff;
    font: inherit;
    font-size: 18px;
    padding: 14px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 6px;
}
.spp-pagar__btn:hover { background: #4cae4c; }

@media (max-width: 760px) {
    .spp-pagar__grid--2,
    .spp-pagar__grid--3 { grid-template-columns: 1fr; }
    .spp-pagar__head { flex-direction: column; }
}

/* ── Cancelar una factura sin pagar ───────────────────────────────── */
/* El botón vive dentro de un <form> (manda un POST con su token), pero
   se ve como un enlace más de la fila. */
.spp-cancelar-form { display: inline; margin: 0; }
.spp-cancelar-btn,
.spp-table .spp-link-danger {
    border: 0;
    background: none;
    padding: 0;
    margin: 0;
    font: inherit;
    font-size: 14px;
    color: #b4232c;
    text-decoration: underline;
    cursor: pointer;
}
.spp-cancelar-btn:hover,
.spp-table .spp-link-danger:hover { color: #7f1a20; }
.spp-cancelar-btn { margin-left: 8px; }

/* ── "Tu transferencia está en revisión" ──────────────────────────── */
/* Lo que ve el cliente después de avisar que pagó: el estado de su
   aviso, no otro formulario de pago. */
.spp-revision {
    margin-top: 22px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    padding: 30px 26px;
    text-align: center;
}
.spp-revision__icono { font-size: 40px; line-height: 1; margin-bottom: 8px; }
.spp-revision h2 { margin: 0 0 8px; font-size: 20px; color: #2b2f33; }
.spp-revision p { margin: 0 0 12px; color: #555b61; font-size: 15px; line-height: 1.55; }
.spp-revision__archivo {
    display: inline-block;
    background: #f3f6f9;
    border: 1px solid #dde4ea;
    border-radius: 4px;
    padding: 9px 14px;
    font-size: 14.5px;
}
.spp-revision__acciones {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 18px 0 0;
}
.spp-revision__alterna { margin: 16px 0 0; font-size: 14px; color: #6b7280; }
