/*=====================================
PANEL DE NOTIFICACIONES
=====================================*/

.header-notifications-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 70px;
    width: 340px;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    display: none;
    overflow: hidden;
}

.header-notifications-panel.visible {
    display: block;
}

.header-notifications-header {
    padding: 16px 18px;
    border-bottom: 1px solid #E5E7EB;
}

.header-notifications-header span {
    display: block;
    font-size: 13px;
    color: #6F7271;
    margin-bottom: 3px;
}

.header-notifications-header strong {
    display: block;
    font-size: 17px;
    color: #17375E;
}

.header-notifications-list {
    max-height: 300px;
    overflow-y: auto;
}

.header-notification-item {
    padding: 15px 18px;
    border-bottom: 1px solid #E5E7EB;
}

.header-notification-item:last-child {
    border-bottom: none;
}

.header-notification-titulo {
    font-weight: 700;
    color: #17375E;
    font-size: 15px;
}

.header-notification-detalles {
    margin-top: 5px;
    font-size: 13px;
    color: #6F7271;
}

.header-notification-descripcion {
    margin-top: 7px;
    font-size: 13px;
    color: #444444;
}

.header-notifications-footer {
    padding: 12px 18px;
    border-top: 1px solid #E5E7EB;
    text-align: right;
}

.header-notifications-footer button {
    border: none;
    background: #0075A9;
    color: #FFFFFF;
    padding: 8px 18px;
    border-radius: 7px;
    font-weight: 600;
    cursor: pointer;
}

.header-notifications-footer button:hover {
    background: #005F89;
}

.header-notifications-empty {
    padding: 28px 18px;
    text-align: center;
    color: #6F7271;
    font-size: 14px;
}


.header-notification-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
    border-bottom: 1px solid #E5E7EB;
}


.header-notification-item:last-child {
    border-bottom: none;
}


.header-notification-titulo {
    font-weight: 700;
    color: #17375E;
    font-size: 16px;
}


.header-notification-detalles {
    margin-top: 3px;
    font-size: 13px;
    color: #6F7271;
}


.header-notification-descripcion {
    margin-top: 5px;
    font-size: 13px;
    color: #444444;
    line-height: 1.4;
}


/*=====================================
BOTÓN OK
=====================================*/

.header-notifications-footer {
    display: flex;
    justify-content: flex-end;
    padding: 14px 18px;
    border-top: 1px solid #E5E7EB;
    background: #FFFFFF;
}


.header-notifications-footer button {
    min-width: 58px;
    height: 40px;
    padding: 0 16px;
    border: none;
    border-radius: 7px;
    background: #0075A9;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}


.header-notifications-footer button:hover {
    background: #005F89;
}


/*=====================================
NOTIFICACIONES — RESPONSIVE
=====================================*/

@media (max-width: 768px) {

    .header-notifications-panel {
        position: fixed;
        top: 70px;
        right: 15px;
        left: 15px;
        width: auto;
    }

}