/* Playvibe Custom Alert System - Premium Aesthetics */
.playvibe-alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.playvibe-alert {
    min-width: 300px;
    max-width: 450px;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid #8338ec; /* Default purple */
    border-radius: 8px;
    padding: 16px 20px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    pointer-events: auto;
    animation: pv-slide-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    position: relative;
    overflow: hidden;
}

.playvibe-alert.success { border-left-color: #2ec4b6; }
.playvibe-alert.error { border-left-color: #e71d36; }
.playvibe-alert.warning { border-left-color: #ff9f1c; }
.playvibe-alert.info { border-left-color: #8338ec; }

.playvibe-alert-content {
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 300;
}

.playvibe-alert-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.playvibe-alert-close:hover {
    color: #fff;
}

.playvibe-alert-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    width: 100%;
    transform-origin: left;
}

@keyframes pv-slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pv-slide-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.playvibe-alert.hiding {
    animation: pv-slide-out 0.3s ease forwards;
}
