.notices {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 560px;
    padding: 0 16px;
    z-index: 99999999;
    pointer-events: none;
}

.notice__message {
    pointer-events: auto;
    float: none;
    right: auto;
    max-width: 100%;
    min-width: 0;
    border: none;
    border-left-width: 4px;
    border-left-style: solid;
    border-radius: 6px;
    padding: 16px 48px 16px 48px;
    margin-bottom: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    line-height: 1.5;
    animation: noticeSlideIn 0.3s ease-out;
}

.notice__success {
    background: #f0fdf4;
    border-left-color: #16a34a;
    color: #15803d;
}

.notice__success .notice__icon {
    color: #16a34a;
}

.notice__fail {
    background: #fef2f2;
    border-left-color: #dc2626;
    color: #991b1b;
}

.notice__fail .notice__icon {
    color: #dc2626;
}

.notice__info {
    background: #eff6ff;
    border-left-color: #2563eb;
    color: #1e40af;
}

.notice__info .notice__icon {
    color: #2563eb;
}

.notice__warning,
.notice__question {
    background: #fffbeb;
    border-left-color: #d97706;
    color: #92400e;
}

.notice__warning .notice__icon,
.notice__question .notice__icon {
    color: #d97706;
}

.notice__icon {
    top: 16px;
    left: 14px;
    font-size: 16px;
}

.notice__close {
    top: 4px;
    right: 4px;
    padding: 12px;
    opacity: 0.5;
    transition: opacity 0.15s ease;
}

.notice__close:hover {
    opacity: 1;
}

.notice__messageText {
    margin-right: 16px;
}

.notice__static,
.notice__push {
    right: auto;
}

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

@media (max-width: 768px) {
    .notices {
        top: 72px;
        max-width: 100%;
    }

    .notice__message {
        min-width: 0;
    }
}
