/* nuevo codigo agregado 09/07/2026 17:15 - campanita de pendientes */
.topbar__bell-wrap {
    position: relative;
    flex-shrink: 0;
}

.topbar__bell-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    transition: background .15s;
}

.topbar__bell-btn:hover {
    background: rgba(255,255,255,.18);
}

.topbar__bell-icon {
    font-size: 18px;
    line-height: 1;
}

.topbar__bell-badge {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    pointer-events: none;
}

.topbar__pendientes-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 210;
    min-width: 240px;
    max-width: min(320px, calc(100vw - 16px));
    background: var(--c-surface, #fff);
    border: 1px solid var(--c-border, #CFD8DC);
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0,0,0,.18);
    overflow: hidden;
}

.topbar__pendientes-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--c-border, #e0e0e0);
}

.topbar__pendientes-item:last-child {
    border-bottom: none;
}

.topbar__pendientes-text {
    font-size: 13px;
    color: var(--c-text, #212121);
    line-height: 1.3;
}

.topbar__pendientes-go {
    flex-shrink: 0;
    font-size: 12px;
    padding: 2px 10px;
    color: var(--c-primary, #1565C0) !important;
    border-color: var(--c-border, #CFD8DC) !important;
}

.topbar__pendientes-empty {
    padding: 12px 14px;
    font-size: 13px;
    color: var(--c-text-muted, #666);
    text-align: center;
}

.topbar__backdrop--bell {
    z-index: 205;
}

.theme-dark .topbar__pendientes-dropdown {
    background: #2b2b2b;
    border-color: #444;
}

.theme-dark .topbar__pendientes-text {
    color: #f0f0f0;
}

.theme-dark .topbar__pendientes-item {
    border-bottom-color: #444;
}

@media (max-width: 767px) {
    .topbar__bell-wrap {
        flex-shrink: 0;
    }

    .topbar__pendientes-dropdown {
        right: 0;
        left: auto;
        max-width: calc(100vw - 16px);
    }
}
