/* ------------------------------------------------------------
   TARJETA PRINCIPAL
------------------------------------------------------------ */
.bazan-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;

    /* ⭐ Línea corporativa como en cursos y perfil */
    border-left: 6px solid #007FA2;
}

/* ------------------------------------------------------------
   CABECERA
------------------------------------------------------------ */
.bazan-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.bazan-card-title {
    margin: 0;
    color: #007FA2; /* ⭐ Color corporativo */
    font-size: 1.25rem;
    word-break: break-word;
}

.bazan-card-method {
    font-size: 0.85rem;
    color: #64748b;
}

/* ------------------------------------------------------------
   CAJA DE VENCIMIENTO
------------------------------------------------------------ */
.bazan-card-expirebox {
    text-align: right;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    padding: 8px 12px;
    border-radius: 8px;
    min-width: 180px;
}

/* ------------------------------------------------------------
   SUBTÍTULO
------------------------------------------------------------ */
.bazan-card-subtitle {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ------------------------------------------------------------
   TEXTO
------------------------------------------------------------ */
.bazan-card-text {
    font-size: 0.875rem;
    color: #475569;
    margin-bottom: 16px;

    /* ⭐ Viñetas corporativas */
    position: relative;
    padding-left: 18px;
}

.bazan-card-text::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #007FA2; /* ⭐ Color corporativo */
    font-size: 18px;
    line-height: 1;
}

/* ------------------------------------------------------------
   GRID DE TARJETAS
------------------------------------------------------------ */
.bazan-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

/* ------------------------------------------------------------
   TARJETAS INTERNAS (fondos suaves en lugar de bordes)
------------------------------------------------------------ */
.bazan-card-box {
    padding: 12px;
    border-radius: 8px;
    background: #f8fafc; /* fondo base neutro */
}

/* 🟢 Si pagas antes → verde muy clarito */
.bazan-card-box-green {
    background: #ecfdf5; /* verde pastel */
}

/* 🔴 Si pagas con retraso → rojo muy clarito */
.bazan-card-box-yellow {
    background: #fee2e2; /* rojo pastel */
}

.bazan-card-box-title {
    font-weight: bold;
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.bazan-card-box-text {
    font-size: 0.8rem;
    color: #334155;
}


/* ------------------------------------------------------------
   FOOTER
------------------------------------------------------------ */
.bazan-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
    flex-wrap: wrap;
    gap: 12px;
}

.bazan-card-footer-note {
    font-size: 0.75rem;
    color: #94a3b8;
    max-width: 60%;
}

/* ------------------------------------------------------------
   BOTÓN RENOVAR
------------------------------------------------------------ */
.bazan-btn-renovar {
    background: #007FA2; /* ⭐ Color corporativo */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
}

.bazan-btn-renovar:hover {
    background: #005f8d;
}

/* ------------------------------------------------------------
   SUBMENÚ "SALIR"
------------------------------------------------------------ */
.bazan-submenu div[data-action="salir"] {
    color: #d9534f;
    font-weight: 500;
    transition: background 0.15s ease;
}

.bazan-submenu div[data-action="salir"]:hover {
    background: #ffecec;
}

/* ------------------------------------------------------------
   RESPONSIVE PARA MÓVIL
------------------------------------------------------------ */
@media (max-width: 600px) {

    .bazan-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .bazan-card-expirebox {
        text-align: left;
        width: 100%;
    }

    .bazan-card-grid {
        grid-template-columns: 1fr;
    }

    .bazan-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .bazan-card-footer-note {
        max-width: 100%;
    }
}

/* AVISO EXCLAMACIÓN DENTRO DEL APARTADO SUSCRIPCIONES. EL CSS PARA EL AVISO EN EL MENÚ Y SUBMENÚ ESTÁN EN OTRO ARCHIVO QUE SE CARGA ANTES (campus.css)*/

.bazan-card-expirebox {
    position: relative;
}

.bazan-expire-alert {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 22px;
    color: #d32f2f;
    font-weight: bold;
    display: none;
}

.bazan-expire-alert:not(:empty) {
    display: block;
}
