/* nuevo codigo agregado 07/09/2026 11:40 — badge actividad (independiente de campanita) */

.topbar__actividad-wrap {
    position: relative;
    margin-right: 0.35rem;
}

.topbar__actividad-btn {
    position: relative;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0.25rem 0.4rem;
    line-height: 1;
}

.topbar__actividad-icon {
    font-size: 1.15rem;
}

.topbar__actividad-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.actividad-toast-host {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 22rem;
    pointer-events: none;
}

/* nuevo codigo agregado 07/09/2026 12:35 — toast fijo blanco/rojo (ignora tema) */
.actividad-toast {
    pointer-events: auto;
    background: #ffffff !important;
    color: #dc3545 !important;
    border: 1px solid #dee2e6;
    border-left: 4px solid #dc3545;
    border-radius: 0.35rem;
    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.12);
    padding: 0.65rem 1.75rem 0.65rem 0.75rem;
    cursor: pointer;
    position: relative;
}

.actividad-toast__close {
    position: absolute;
    top: 0.15rem;
    right: 0.35rem;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    line-height: 1;
    color: #dc3545 !important;
    cursor: pointer;
}

.actividad-toast__title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #dc3545 !important;
}

.actividad-toast__folio {
    font-weight: 600;
    margin-top: 0.15rem;
    color: #dc3545 !important;
}

.actividad-toast__line {
    font-size: 0.85rem;
    color: #dc3545 !important;
}

.actividad-toast__time {
    font-size: 0.75rem;
    color: #dc3545 !important;
    margin-top: 0.2rem;
}
