/* Pro Notification Panel Design System - Light Theme */

#notif-modal {
    background: white !important; 
    border: 1px solid #e2e8f0;
    color: #1e293b;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#notif-list-container {
    background: white !important;
}

.notif-header {
    padding: 1rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.notif-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.notif-tabs {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
}

.notif-tabs::-webkit-scrollbar { display: none; }

.notif-tab {
    padding: 0.4rem 0.8rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}

.notif-tab.active {
    background: var(--color-primary);
    color: white;
}

.notif-search-container {
    position: relative;
    margin-bottom: 0.2rem;
}

.notif-search-input {
    width: 100%;
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.5rem 1rem 0.5rem 2rem;
    color: #1e293b;
    font-size: 0.8rem;
}

.notif-search-icon {
    position: absolute;
    left: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.4;
    color: #1e293b;
}

.notif-group-header {
    padding: 0.6rem 1rem;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    background: #f8fafc;
}

.notif-item-pro {
    padding: 1rem;
    display: flex;
    gap: 0.8rem;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
    cursor: pointer;
    background: white; /* Explicitly white */
}

.notif-item-pro:hover {
    background: #f8fafc;
}

.notif-item-pro.unread {
    background: rgba(11, 110, 79, 0.04);
}

.notif-unread-dot {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
}

.notif-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

/* Semantic Statuses */
.status-confirmed { background: #dcfce7; color: #166534; }
.status-failed { background: #fee2e2; color: #991b1b; }
.status-warning { background: #fef3c7; color: #92400e; }
.status-info { background: #e0f2fe; color: #075985; }

.notif-content-pro {
    flex: 1;
    min-width: 0;
}

.notif-title-row-pro {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.15rem;
}

.notif-title-pro {
    font-weight: 700;
    font-size: 0.9rem;
    color: #0f172a; /* Darker for better contrast */
}

.notif-status-tag {
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
}

.notif-subtitle-pro {
    font-size: 0.82rem;
    color: #475569; /* Clearer gray */
    line-height: 1.5;
    margin-bottom: 0.4rem;
}

.notif-meta-pro {
    font-size: 0.68rem;
    color: #94a3b8;
}

.notif-actions-pro {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.notif-btn-cta {
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    border: 1px solid #e2e8f0;
    background: white;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s;
}

.notif-btn-cta:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.notif-footer-pro {
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.notif-footer-btn {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.notif-footer-btn:hover {
    color: var(--color-primary);
}

/* Toast Deck Styles */
.michu-push-toast {
    position: fixed;
    right: 20px;
    width: 330px;
    background: white;
    border-radius: 16px;
    padding: 1rem;
    z-index: 20000;
    display: flex;
    gap: 0.8rem;
    cursor: pointer;
    max-width: calc(100vw - 2rem);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

.michu-push-toast.stacked {
    pointer-events: none;
}

.michu-push-toast.deck-1 {
    transform: translateY(10px) scale(0.96);
    opacity: 0.8;
    z-index: 19999;
}

.michu-push-toast.deck-2 {
    transform: translateY(20px) scale(0.92);
    opacity: 0.5;
    z-index: 19998;
}

.michu-push-toast.hidden-stack {
    transform: translateY(30px) scale(0.88);
    opacity: 0;
    pointer-events: none;
}

.toast-badge-count {
    position: absolute;
    top: -10px;
    left: -10px;
    background: var(--color-primary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(11, 110, 79, 0.3);
}
