/* In-app notifications panel (bell icon) */

.notification-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 1040;
    backdrop-filter: blur(2px);
}

.notification-backdrop.is-open {
    display: block;
}

.notification-panel {
    display: none;
    position: fixed;
    z-index: 1050;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(520px, calc(100vw - 2rem));
    max-height: min(85vh, 640px);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
    overflow: hidden;
    flex-direction: column;
}

.notification-panel.is-open {
    display: flex;
}

.notification-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    border-bottom: 1px solid #eee;
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.notification-panel__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notification-panel__title i {
    color: #5FA9F0;
}

.notification-panel__close {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.notification-panel__close:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.notification-panel__body {
    padding: 1rem 1.25rem 1.25rem;
    overflow-y: auto;
    flex: 1 1 auto;
}

.notification-panel__empty {
    text-align: center;
    padding: 2.5rem 1.25rem;
    color: #6b7280;
}

.notification-panel__empty i {
    font-size: 2.25rem;
    color: #c4c9d0;
    margin-bottom: 0.85rem;
    display: block;
}

.notification-panel__empty p {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
}

.notification-panel__empty-hint {
    display: block;
    font-size: 0.8rem;
    color: #9ca3af;
    line-height: 1.45;
    max-width: 16rem;
    margin: 0 auto;
}

/* Bell badge on navbar */
.circleBell12 {
    position: relative;
}

.notification-bell-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #E44D49;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    display: none;
}

.notification-item {
    position: relative;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem 2.5rem 1rem 1.15rem;
    margin-bottom: 0.85rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.notification-item:last-child {
    margin-bottom: 0;
}

.notification-item:hover {
    border-color: #5FA9F0;
    box-shadow: 0 4px 14px rgba(95, 169, 240, 0.12);
}

.notification-item--booking {
    border-left: 4px solid #3DB39E;
}

.notification-item__dismiss {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.notification-item__dismiss:hover {
    background: #fdecea;
    color: #b42318;
}

.notification-item__subject {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.35;
    padding-right: 0.5rem;
}

.notification-item__message {
    margin: 0 0 0.65rem;
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.5;
    white-space: pre-wrap;
}

.notification-item__time {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
}
