/* Kontener toastów */
#wc-toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
}

/* Pojedynczy toast */
.wc-toast {
    background-color: #0D0C0A;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: flex-start;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 230, 132, 0.2);
    max-width: 100%;
}

/* Animacja pojawienia się */
.wc-toast-show {
    transform: translateX(0);
}

/* Ikona */
.wc-toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Treść */
.wc-toast-content {
    flex-grow: 1;
    font-size: 14px;
    line-height: 1.4;
}

/* Przycisk zamknięcia */
.wc-toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    cursor: pointer;
    padding: 0 0 0 10px;
    line-height: 1;
}

.wc-toast-close:hover {
    color: white;
}

/* Style dla poszczególnych typów komunikatów */
.wc-toast-success {
    border-left: 4px solid #4CAF50;
}

.wc-toast-success .wc-toast-icon {
    color: #4CAF50;
}

.wc-toast-error {
    border-left: 4px solid #F44336;
}

.wc-toast-error .wc-toast-icon {
    color: #F44336;
}

.wc-toast-info {
    border-left: 4px solid #FFE684;
}

.wc-toast-info .wc-toast-icon {
    color: #FFE684;
}

/* Responsywność */
@media (max-width: 480px) {
    #wc-toast-container {
        left: 20px;
        right: 20px;
        max-width: calc(100% - 40px);
    }
}