/*
.hero-aviso{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-error{
    position: absolute;
    z-index: 100;
    overflow:hidden;
    border-radius:16px;

    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.20);

    backdrop-filter:blur(10px);
    box-shadow:0 18px 45px rgba(0,0,0,0.30);

    transition: transform .15s ease, border-color .15s ease, background .15s ease;
    padding: 12px 18px;
    font-size: 14px;
}*/


.hero-aviso {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-error {
    position: absolute;
    top: -28px;
    z-index: 100;
    min-width: 420px;
    max-width: 640px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    padding: 16px 18px;
    border-radius: 18px;

    color: #ffffff;
    font-size: 16px;
    line-height: 1.4;

    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.30);

    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.form-error.hide {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

.form-error-text {
    flex: 1;
}

.bt-tanca-avis {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    backdrop-filter: blur(8px);
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.bt-tanca-avis:hover {
    background: rgba(255, 255, 255, 0.20);
    border-color: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.bt-tanca-avis:active {
    transform: scale(0.97);
}

.bt-tanca-avis:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.20);
}

@media (max-width: 768px) {
    .form-error {
        min-width: auto;
        width: calc(100% - 24px);
        max-width: calc(100% - 24px);
        top: -18px;
        padding: 14px 14px;
        font-size: 14px;
    }

    .bt-tanca-avis {
        width: 38px;
        height: 38px;
        font-size: 24px;
    }
}