/* ============================================================
   BETIFEST - Página notificaciones organizador
   ============================================================ */

.bnotif-wrap {
    max-width: 680px;
    margin: 40px auto;
    padding: 0 20px 60px;
    font-family: inherit;
}

.bnotif-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06);
    overflow: hidden;
}

/* Header */
.bnotif-header {
    background: #EB4850;
    padding: 32px 36px 28px;
}

.bnotif-title {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
}

.bnotif-subtitle {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
}

/* Secciones */
.bnotif-section {
    padding: 32px 36px;
}

.bnotif-section-title {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
}

.bnotif-section-desc {
    margin: 0 0 24px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.bnotif-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 0 36px;
}

/* Formulario */
.bnotif-field {
    margin-bottom: 20px;
}

.bnotif-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.bnotif-select,
.bnotif-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    appearance: none;
}

.bnotif-select:focus,
.bnotif-textarea:focus {
    outline: none;
    border-color: #EB4850;
    box-shadow: 0 0 0 3px rgba(235,72,80,0.10);
    background: #fff;
}

.bnotif-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

/* Botones */
.bnotif-btn {
    display: inline-block;
    padding: 13px 28px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
}

.bnotif-btn:active {
    transform: scale(0.98);
}

.bnotif-btn-primary {
    background: #EB4850;
    color: #fff;
    box-shadow: 0 2px 8px rgba(235,72,80,0.25);
}

.bnotif-btn-primary:hover {
    background: #d43e46;
    box-shadow: 0 4px 16px rgba(235,72,80,0.35);
}

.bnotif-btn-secondary {
    background: #3CACF7;
    color: #fff;
    box-shadow: 0 2px 8px rgba(60,172,247,0.25);
}

.bnotif-btn-secondary:hover {
    background: #2b9ae0;
    box-shadow: 0 4px 16px rgba(60,172,247,0.35);
}

.bnotif-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Feedback invitar */
.bnotif-feedback {
    margin-top: 14px;
    font-size: 14px;
    min-height: 20px;
}

.bnotif-feedback-ok {
    color: #2e7d32;
    font-weight: 600;
}

.bnotif-feedback-error {
    color: #c62828;
    font-weight: 600;
}

/* Confirmacion envio */
.bnotif-success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: #f0faf0;
    border-bottom: 1px solid #c8e6c9;
    flex-wrap: wrap;
}

.bnotif-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #2e7d32;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.bnotif-success span:not(.bnotif-success-icon) {
    font-size: 15px;
    color: #1b5e20;
    font-weight: 600;
    flex: 1;
}

.bnotif-nuevo-btn {
    padding: 8px 18px;
    background: #EB4850;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.bnotif-nuevo-btn:hover {
    background: #d43e46;
}

/* Historial */
.bnotif-historial {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bnotif-historial-item {
    padding: 16px 20px;
    background: #fafafa;
    border: 1px solid #ebebeb;
    border-radius: 10px;
}

.bnotif-historial-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap: 12px;
    flex-wrap: wrap;
}

.bnotif-historial-evento {
    font-size: 13px;
    font-weight: 700;
    color: #EB4850;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bnotif-historial-fecha {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}

.bnotif-historial-mensaje {
    margin: 0 0 10px;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}

.bnotif-historial-stats {
    display: flex;
    gap: 16px;
}

.bnotif-stat {
    font-size: 12px;
    color: #888;
    background: #f0f0f0;
    padding: 3px 10px;
    border-radius: 20px;
}

.bnotif-stat strong {
    color: #333;
}

.bnotif-empty {
    color: #aaa;
    font-size: 14px;
    text-align: center;
    padding: 20px 0;
}

.bnotif-error {
    color: #c62828;
    padding: 20px;
    font-size: 15px;
}


/* Responsive */
@media (max-width: 600px) {
    .bnotif-wrap {
        padding: 0 12px 40px;
        margin-top: 20px;
    }

    .bnotif-header {
        padding: 24px 20px 20px;
    }

    .bnotif-section {
        padding: 24px 20px;
    }

    .bnotif-divider {
        margin: 0 20px;
    }

    .bnotif-success {
        padding: 16px 20px;
    }

    .bnotif-title {
        font-size: 22px;
    }
}