/**
 * Customer notifications dropdown (bell icon).
 * Wrapper and dropdown positioning; reuses theme .notification-popup styles where applicable.
 */
.customer-notifications-wrapper {
    position: relative;
    display: inline-block;
}

.customer-notifications-dropdown.customer-notifications-popup,
#customer-notifications-dropdown.customer-notifications-popup {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 320px;
    max-width: 390px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 16px 4px rgba(40, 44, 63, 0.07);
    font-family: Arial, sans-serif;
    z-index: 999;
}

.customer-notifications-panel .customer-notifications-header {
    position: relative;
    margin-bottom: 12px;
}

.customer-notifications-panel .customer-notifications-title {
    font-size: 20px;
    font-weight: 700;
    color: rgba(29, 29, 31, 1);
    margin: 0 0 10px 0;
}

.customer-notifications-badge {
    position: absolute;
    top: -4px;
    right: 0;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    color: #fff;
    background: #f8b400;
    border-radius: 9px;
}

.customer-notifications-login-msg {
    font-size: 16px;
    color: rgba(29, 29, 31, 1);
    margin: 0;
}

.customer-notifications-list .notification-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(210, 210, 215, 1);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.customer-notifications-list .notification-item:last-child {
    border-bottom: none;
}

/* Unread: highlight so they are visible directly */
.customer-notifications-list .notification-item-unread {
    font-weight: 700;
    background: rgba(0, 103, 248, 0.245);
    margin: 0 -24px;
    padding: 12px 24px 12px 24px;
}

.customer-notifications-list .notification-item-unread .notification-item-title {
    color: #00426d;
}

.customer-notifications-list .notification-item-unread-dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border-radius: 50%;
    display: block;
}

.customer-notifications-list .notification-item-unread .notification-item-unread-dot {
    background: #f8b400;
}

.customer-notifications-list .notification-item-unread-dot--empty {
    background: transparent;
    visibility: hidden;
}

.customer-notifications-list .notification-item-body {
    flex: 1;
    min-width: 0;
}

.customer-notifications-list .notification-item-read {
    padding-left: 0;
}

.customer-notifications-list .notification-item-title {
    display: block;
    font-size: 16px;
    color: rgba(29, 29, 31, 1);
    margin-bottom: 4px;
}

.customer-notifications-list .notification-item-message {
    font-size: 14px;
    color: rgba(29, 29, 31, 0.85);
    margin: 0 0 4px 0;
}

.customer-notifications-list .notification-item-date {
    font-size: 12px;
    color: rgba(29, 29, 31, 0.6);
}

.customer-notifications-list .notification-item-view-details {
    display: inline-block;
    padding: 6px 14px;
    color: #00426d;
}

.customer-notifications-empty,
.customer-notifications-loading {
    font-size: 16px;
    color: rgba(29, 29, 31, 0.8);
    margin: 0;
}

.customer-notifications-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(210, 210, 215, 1);
}

.customer-notifications-clear-all {
    display: block;
    width: 100%;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #00426d;
    background: transparent;
    border: 1px solid rgba(0, 66, 109, 0.4);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.customer-notifications-clear-all:hover:not(:disabled) {
    background: rgba(0, 66, 109, 0.08);
}

.customer-notifications-clear-all:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.customer-notifications-wrapper .bell-icon,
.bell-icon {
    position: relative;
    cursor: pointer;
}

/* Unread indicator dot on bell icon (when customer has unread notifications) */
.bell-icon .bell-icon-unread-dot {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 12px;
    height: 12px;
    background: #f8b400;
    border-radius: 50%;
    display: block;
    border: 1.5px solid #fff;
    box-sizing: border-box;
}
