.rsv-alert {
    display: none;
    margin-bottom: 18px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
    border: 1px solid transparent;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.18s ease;
}

.rsv-alert.is-visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.rsv-alert.is-hiding {
    opacity: 0;
    transform: translateY(-8px);
}

.rsv-alert-inner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
}

.rsv-alert-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.rsv-alert-content {
    flex: 1;
    min-width: 0;
}

.rsv-alert-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}

.rsv-alert-message {
    font-size: 0.93rem;
    line-height: 1.45;
    word-wrap: break-word;
}

.rsv-alert-close {
    border: 0;
    background: transparent;
    cursor: pointer;
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
    padding: 0;
}

.rsv-alert-close:hover {
    transform: scale(1.04);
}

.rsv-alert-close i {
    font-size: 0.95rem;
}

.rsv-alert-success {
    background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf3 100%);
    border-color: #bbf7d0;
    color: #166534;
}

.rsv-alert-success .rsv-alert-icon {
    background: #dcfce7;
    color: #16a34a;
}

.rsv-alert-success .rsv-alert-title {
    color: #166534;
}

.rsv-alert-success .rsv-alert-message {
    color: #166534;
}

.rsv-alert-success .rsv-alert-close {
    color: #166534;
}

.rsv-alert-success .rsv-alert-close:hover {
    background: rgba(22, 101, 52, 0.08);
}

.rsv-alert-error {
    background: linear-gradient(180deg, #fff7ed 0%, #fff1f2 100%);
    border-color: #fecaca;
    color: #991b1b;
}

.rsv-alert-error .rsv-alert-icon {
    background: #fee2e2;
    color: #dc2626;
}

.rsv-alert-error .rsv-alert-title {
    color: #991b1b;
}

.rsv-alert-error .rsv-alert-message {
    color: #7f1d1d;
}

.rsv-alert-error .rsv-alert-close {
    color: #991b1b;
}

.rsv-alert-error .rsv-alert-close:hover {
    background: rgba(153, 27, 27, 0.08);
}

@media (max-width: 767.98px) {
    .rsv-alert-inner {
        padding: 14px;
        gap: 12px;
    }

    .rsv-alert-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .rsv-alert-title {
        font-size: 0.9rem;
    }

    .rsv-alert-message {
        font-size: 0.9rem;
    }
}