.pnotify-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    pointer-events: none;
}

.pnotify {
    position: relative;
    margin-bottom: 15px;
    padding: 20px 25px;
    min-width: 300px;
    max-width: 400px;
    border-radius: 16px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: all;
    overflow: hidden;
}

.pnotify.show {
    transform: translateX(0);
    opacity: 1;
}

.pnotify::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 151, 178, 0.1) 0%, 
        rgba(180, 173, 234, 0.1) 50%,
        rgba(230, 97, 105, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

.pnotify:hover::before {
    opacity: 1;
}

.pnotify.success {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
}

.pnotify.error {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
}

.pnotify.warning {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
}

.pnotify.info {
    background: rgba(0, 151, 178, 0.15);
    border-color: rgba(0, 151, 178, 0.3);
}

.pnotify-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.pnotify-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.pnotify.success .pnotify-icon {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.pnotify.error .pnotify-icon {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.pnotify.warning .pnotify-icon {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.pnotify.info .pnotify-icon {
    background: rgba(0, 151, 178, 0.2);
    color: var(--teal);
}

.pnotify-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--cream);
    flex: 1;
}

.pnotify-close {
    background: none;
    border: none;
    color: rgba(242, 229, 215, 0.6);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pnotify-close:hover {
    color: var(--cream);
    background: rgba(255, 255, 255, 0.1);
}

.pnotify-text {
    color: rgba(242, 229, 215, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.pnotify-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0 0 16px 16px;
    transition: width 0.1s linear;
}

.pnotify.success .pnotify-progress {
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

.pnotify.error .pnotify-progress {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

.pnotify.warning .pnotify-progress {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.pnotify.info .pnotify-progress {
    background: linear-gradient(90deg, var(--teal), var(--purple));
}

.pnotify-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.pnotify-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: var(--cream);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.pnotify-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.pnotify-btn.primary {
    background: linear-gradient(135deg, var(--teal), var(--purple));
    border-color: rgba(0, 151, 178, 0.3);
}

.pnotify-btn.primary:hover {
    box-shadow: 0 5px 15px rgba(0, 151, 178, 0.3);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.pnotify.removing {
    animation: slideOutRight 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@media (max-width: 768px) {
    .pnotify-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .pnotify {
        min-width: unset;
        max-width: unset;
        width: 100%;
        margin-bottom: 10px;
        padding: 15px 20px;
    }
    
    .pnotify-title {
        font-size: 0.95rem;
    }
    
    .pnotify-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .pnotify {
        padding: 12px 15px;
    }
    
    .pnotify-header {
        gap: 10px;
        margin-bottom: 8px;
    }
    
    .pnotify-title {
        font-size: 0.9rem;
    }
    
    .pnotify-text {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .pnotify-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}