/* ===================================
   NOTIFICATION COMPONENT
   =================================== */

.notification {
    position: fixed;
    top: 80px;
    right: -420px;
    background: var(--color-surface, #232a3a);
    color: var(--color-text, #ffffff);
    padding: 14px 18px;
    border-radius: 14px;
    font-family: var(--font-main, 'Montserrat', sans-serif);
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 8px 32px var(--color-shadow-strong, rgba(0, 0, 0, 0.5));
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 300px;
    min-width: 240px;
    border-left: 3px solid transparent;
    transition: right 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.notification.show { right: 16px; }

.notification.hide {
    transition: right 0.35s ease-in, opacity 0.35s ease-in;
    right: -420px;
    opacity: 0;
}

/* Accent border per type */
.notification.success { border-left-color: var(--color-success, #4caf50); }
.notification.error   { border-left-color: var(--color-error,   #f44336); }
.notification.info    { border-left-color: var(--color-accent,  #2196f3); }

/* Icon color per type */
.notification.success .notif-icon { color: var(--color-success, #4caf50); }
.notification.error   .notif-icon { color: var(--color-error,   #f44336); }
.notification.info    .notif-icon { color: var(--color-accent,  #2196f3); }

.notif-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.notif-message {
    flex: 1;
    line-height: 1.4;
}
