.notification-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    width: 100%;
    pointer-events: none;
}

.notification {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    /* border-left: 4px solid var(--primary); */
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: all;
    position: absolute;
    top: 0;
    right: 0;
    overflow: hidden;
    width: 100%;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.hide {
    transform: translateX(100%);
    opacity: 0;
}

/* .notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 3s linear;
} */

.notification.auto-close::before {
    transform: scaleX(1);
}

/* .notification.success {
    border-left-color: var(--success);
}

.notification.success::before {
    background: var(--success);
}

.notification.error {
    border-left-color: var(--danger);
}

.notification.error::before {
    background: var(--danger);
}

.notification.warning {
    border-left-color: var(--warning);
}

.notification.warning::before {
    background: var(--warning);
}

.notification.info {
    border-left-color: var(--info);
}

.notification.info::before {
    background: var(--info);
} */

.notification-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.notification.success .notification-icon {
    background: rgba(76, 175, 80, 0.1);
    color: #6dbe0f;
}

.notification.error .notification-icon {
    background: rgba(244, 67, 54, 0.1);
    color: var(--danger);
}

.notification.warning .notification-icon {
    background: rgba(255, 152, 0, 0.1);
    color: var(--danger);
}

.notification.info .notification-icon {
    background: rgba(33, 150, 243, 0.1);
    color: var(--primary-light);
}

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

.notification-title {
    font-weight: 550;
    margin-bottom: 5px;
    color: #1A1A2E;
    font-size: 14px;
    line-height: 1.3;
}

.notification-message {
    color: #6D6875;
    font-size: 13px;
    line-height: 1.5;
}

.notification-close {
    background: none;
    border: none;
    color: #6D6875;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: -5px;
    margin-right: -5px;
    font-size: 16px;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #1A1A2E;
}

@media (min-width: 1200px) {
    .notification-container {
        right: 30px;
        top: 30px;
        max-width: 420px;
    }
    
    .notification {
        padding: 22px;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .notification-container {
        right: 20px;
        top: 20px;
        max-width: 400px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .notification-container {
        right: 15px;
        left: 15px;
        max-width: none;
        width: calc(100% - 30px);
    }
    
    .notification {
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        width: calc(100% - 20px);
    }

    .notification {
        padding: 16px;
        gap: 12px;
    }

    .notification-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .notification-title {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .notification-message {
        font-size: 13px;
        line-height: 1.4;
    }

    .notification-close {
        font-size: 14px;
        padding: 4px;
        margin-top: -4px;
        margin-right: -4px;
    }
}

@media (max-width: 360px) {
    .notification-container {
        top: 8px;
        right: 8px;
        left: 8px;
        width: calc(100% - 16px);
    }

    .notification {
        padding: 14px;
        gap: 10px;
    }

    .notification-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .notification-title {
        font-size: 14px;
    }

    .notification-message {
        font-size: 12px;
    }
}

@media (max-height: 500px) and (max-width: 768px) {
    .notification-container {
        top: 10px;
        max-width: 350px;
        right: 15px;
        left: auto;
        width: auto;
    }
    
    .notification {
        padding: 14px;
    }
    
    .notification-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
}

@media (min-width: 1920px) {
    .notification-container {
        right: 50px;
        top: 40px;
        max-width: 450px;
    }
    
    .notification {
        padding: 24px;
    }
    
    .notification-title {
        font-size: 17px;
    }
    
    .notification-message {
        font-size: 15px;
    }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .notification {
        border-left-width: 3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .notification {
        transition: opacity 0.3s ease;
    }
    
    .notification::before {
        transition: none;
    }
}