:root {
    --oshun-alert-success: #16a34a;
    --oshun-alert-error: #dc2626;
    --oshun-alert-warning: #d97706;
    --oshun-alert-info: #2563eb;
}

.oshun-alert-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.oshun-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 280px;
    max-width: 420px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #ffffff;
    color: #1f2937;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    border-left: 4px solid var(--oshun-alert-info);
    pointer-events: auto;
    animation: oshunAlertIn 0.2s ease-out;
}

.oshun-alert--success {
    border-left-color: var(--oshun-alert-success);
}

.oshun-alert--error {
    border-left-color: var(--oshun-alert-error);
}

.oshun-alert--warning {
    border-left-color: var(--oshun-alert-warning);
}

.oshun-alert--info {
    border-left-color: var(--oshun-alert-info);
}

.oshun-alert__icon {
    font-size: 1.2rem;
    color: inherit;
    margin-top: 2px;
}

.oshun-alert__content {
    flex: 1;
}

.oshun-alert__title {
    font-weight: 600;
    margin: 0 0 4px 0;
    font-size: 0.95rem;
}

.oshun-alert__message {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    word-break: break-word;
}

.oshun-alert__close {
    background: transparent;
    border: none;
    color: #6b7280;
    font-size: 1rem;
    cursor: pointer;
    line-height: 1;
}

@keyframes oshunAlertIn {
    from {
        transform: translateY(-6px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .oshun-alert-container {
        left: 16px;
        right: 16px;
        top: 16px;
    }

    .oshun-alert {
        max-width: none;
        width: 100%;
    }
}
