/* src/public/modules/store/toast-notification/toast.css */

#toast-notification-container {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;

    opacity: 0;
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;

    background: #1a1a1a;
    color: #ffffff;
    padding: 14px 20px;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 1px rgba(255, 255, 255, 0.1) inset;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    min-width: 280px;
    max-width: calc(100vw - 40px);
    text-align: left;
    line-height: 1.4;

    display: flex;
    align-items: center;
    gap: 12px;
}

#toast-notification-container.show {
    top: env(safe-area-inset-top, 16px);
    top: max(env(safe-area-inset-top, 16px), 16px);
    opacity: 1;
}

.toast-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-icon svg {
    width: 16px;
    height: 16px;
}

.toast-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toast-title {
    font-weight: 600;
    font-size: 14px;
}

.toast-message {
    font-weight: 400;
    font-size: 13px;
    opacity: 0.85;
}

.toast-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #ffffff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    transition: background 0.2s ease;
    padding: 0;
    margin-left: 4px;
}

.toast-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.toast-close-btn:active {
    background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 767px) {
    #toast-notification-container {
        width: calc(100vw - 32px);
        max-width: none;
        border-radius: 12px;
        padding: 12px 16px;
    }
}