/* Toast Notification Styles */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 320px;
    max-width: calc(100vw - 40px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 16px;
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    pointer-events: auto;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-notification__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-notification__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.toast-notification__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.toast-notification__text {
    font-size: 14px;
    line-height: 1.4;
    color: #262323;
    margin: 0;
}

.toast-notification__btn {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    align-self: flex-start;
    transition: background-color 0.2s;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.toast-notification__btn:hover {
    background: #0056b3;
}

.toast-notification__close {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.toast-notification__close:hover {
    background: #f5f5f5;
    color: #333;
}

/* Toast variants */
.toast-notification--success {
    border-left: 4px solid #28a745;
}

.toast-notification--error {
    border-left: 4px solid #dc3545;
}

.toast-notification--warning {
    border-left: 4px solid #ffc107;
}

.toast-notification--info {
    border-left: 4px solid #17a2b8;
}

/* Mobile responsiveness */
@media (max-width: 479px) {
    .toast-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
    }
}
