/* ── Premium Popup Notification ─────────────────────────── */
.cic-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 9999;
    pointer-events: none;
    padding-top: 24px;
}

.cic-popup {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 18px;
    padding: 18px 22px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.14),
        0 2px 8px rgba(0, 0, 0, 0.06);
    max-width: 440px;
    width: calc(100% - 48px);
    pointer-events: auto;
    transform: translateY(-80px);
    opacity: 0;
    transition:
        transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.35s ease;
    position: relative;
    overflow: hidden;
}

.cic-popup.show {
    transform: translateY(0);
    opacity: 1;
}

/* Left accent bar */
.cic-popup::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 18px 0 0 18px;
}

.cic-popup.popup-success::before {
    background: #00826b;
}

.cic-popup.popup-error::before {
    background: #ef4444;
}

.cic-popup.popup-info::before {
    background: #3b82f6;
}

.cic-popup.popup-warning::before {
    background: #f59e0b;
}

/* Icon circle */
.cic-popup-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.popup-success .cic-popup-icon {
    background: #dcfce7;
    color: #00826b;
}

.popup-error .cic-popup-icon {
    background: #fee2e2;
    color: #ef4444;
}

.popup-info .cic-popup-icon {
    background: #dbeafe;
    color: #3b82f6;
}

.popup-warning .cic-popup-icon {
    background: #fef3c7;
    color: #f59e0b;
}

.cic-popup-body {
    flex: 1;
    min-width: 0;
}

.cic-popup-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    color: #0f172a;
    margin: 0 0 2px;
    line-height: 1.3;
}

.cic-popup-msg {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
    word-break: break-word;
}

.cic-popup-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.2s;
    margin-left: 4px;
}

.cic-popup-close:hover {
    color: #374151;
}

/* Progress bar */
.cic-popup-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    transform-origin: left;
}

.popup-success .cic-popup-progress {
    background: #00826b;
}

.popup-error .cic-popup-progress {
    background: #ef4444;
}

.popup-info .cic-popup-progress {
    background: #3b82f6;
}

.popup-warning .cic-popup-progress {
    background: #f59e0b;
}