.notification-empty {
    padding: 1.25rem;
    text-align: center;
    color: var(--medium-gray);
    font-size: 0.85rem;
}

.notification-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
    transition: var(--transition);
}

.notification-item.unread {
    background: rgba(59, 130, 246, 0.08);
}

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

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    background: var(--light-gray);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-body {
    flex: 1;
}

.notification-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.notification-message {
    font-size: 0.8rem;
    color: var(--dark-gray);
}

.notification-time {
    font-size: 0.7rem;
    color: var(--medium-gray);
    margin-top: 0.35rem;
}

.notification-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.notification-mark-btn {
    border: none;
    background: transparent;
    color: var(--primary-color);
    font-size: 0.75rem;
    cursor: pointer;
}

.notification-mark-btn:hover {
    color: var(--primary-dark);
}

.app-notification-drawer {
    background: #ffffff;
    border-left: 1px solid #e2e8f0;
    box-shadow: -24px 0 50px rgba(15, 23, 42, 0.18);
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(104%);
    transition: transform 0.2s ease;
    width: min(420px, calc(100vw - 28px));
    z-index: 1320;
}

.app-notification-drawer.is-open {
    transform: translateX(0);
}

.app-notification-backdrop {
    background: rgba(15, 23, 42, 0.42);
    display: none;
    inset: 0;
    position: fixed;
    z-index: 1310;
}

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

.app-notification-head {
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 16px;
}

.app-notification-head span {
    color: #7c3aed;
    display: block;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.app-notification-head strong {
    color: #0f172a;
    display: block;
    font-size: 20px;
    margin-top: 2px;
}

.app-notification-close {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.app-notification-actions {
    border-bottom: 1px solid #e2e8f0;
    display: grid;
    padding: 12px 16px;
}

.app-notification-actions button,
.app-notification-item-actions button {
    background: #f8fafc;
    border: 1px solid #d8dce8;
    border-radius: 8px;
    color: #334155;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    padding: 8px;
}

.app-notification-actions button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.app-notification-list {
    display: grid;
    gap: 10px;
    overflow: auto;
    padding: 14px;
}

.app-notification-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #7c3aed;
    border-radius: 8px;
    display: flex;
    gap: 11px;
    padding: 12px;
}

.app-notification-item.chat {
    border-left-color: #2563eb;
}

.app-notification-item.review {
    border-left-color: #7c3aed;
}

.app-notification-item.exception {
    border-left-color: #ef4444;
}

.app-notification-item.calendar {
    border-left-color: #0ea5e9;
}

.app-notification-item.notes {
    border-left-color: #f59e0b;
}

.app-notification-icon {
    align-items: center;
    background: #f1f5f9;
    border-radius: 10px;
    color: #4f46e5;
    display: inline-flex;
    flex: 0 0 36px;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.app-notification-body {
    display: grid;
    flex: 1;
    gap: 5px;
    min-width: 0;
}

.app-notification-meta {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.app-notification-meta span {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.app-notification-meta time,
.app-notification-body small,
.app-notification-empty span {
    color: #64748b;
    font-size: 12px;
}

.app-notification-body strong {
    color: #0f172a;
    font-size: 14px;
    line-height: 1.3;
}

.app-notification-body p {
    color: #334155;
    font-size: 12px;
    line-height: 1.45;
    margin: 0;
}

.app-notification-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.app-notification-item-actions button {
    background: #ffffff;
    font-size: 11px;
    padding: 6px 8px;
}

.app-notification-item-actions button:first-child {
    border-color: rgba(124, 58, 237, 0.35);
    color: #6d28d9;
}

.app-notification-empty {
    align-items: center;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    color: #64748b;
    display: grid;
    gap: 8px;
    justify-items: center;
    padding: 28px 18px;
    text-align: center;
}

.app-notification-empty i {
    color: #94a3b8;
    font-size: 26px;
}

.app-notification-empty strong {
    color: #0f172a;
    font-size: 15px;
}
