/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* VARIABILI */
:root {
    --rosa: #e7b1c8;
    --rosa-scuro: #8c043f;
    --nero: #111;
    --grigio: #f7f7f7;
}

/* BASE GENERALE */
body {
    font-family: "Quicksand", sans-serif;
    background: #fff;
    line-height: 1.6;
    color: #222;
}

/* LINK */
a {
    text-decoration: none;
    color: inherit;
}

/* Scroll Top Button */
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;

    background-color: var(--rosa-scuro);
    width: 46px;
    height: 46px;

    border-radius: 10px;
    /* più premium */
    transition: all 0.35s ease;
    display: flex;
    justify-content: center;
    align-items: center;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

/* Freccia Premium */
.scroll-top i {
    font-size: 26px;
    /* leggermente più piccola = più elegante */
    color: #ffffff;
    line-height: 1;
    transform: translateY(-1px);

    /* Spessore premium */
    filter:
        drop-shadow(0 0 2px #fff) drop-shadow(0 0 2px #fff);

    transition: color 0.25s ease, filter 0.25s ease;
}

/* Hover Premium */
.scroll-top:hover {
    background-color: var(--rosa);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.30);

    transform: translateY(-3px);
    /* micro-lift premium */
}

/* Freccia in Hover */
.scroll-top:hover i {
    color: #111;
    /* nero soft premium */
    filter:
        drop-shadow(0 0 2px #111) drop-shadow(0 0 2px #111);
}

/* Attivazione */
.scroll-top.active {
    visibility: visible;
    opacity: 1;
}

.feedback-box {
    margin: 40px auto;
    padding: 25px;
    max-width: 600px;
    background: #f7f7f7;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.feedback-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
}

.fb-btn {
    padding: 10px 20px;
    font-size: 20px;
    border: none;
    background: #eaeaea;
    border-radius: 8px;
    cursor: pointer;
}

.fb-btn.active {
    background: #1f8245;
    color: white;
}

#fb-commento {
    width: 100%;
    height: 80px;
    font-size: 16px;
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.fb-send {
    margin-top: 15px;
    padding: 10px 25px;
    background: #1f8245;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 17px;
}

.fb-msg {
    margin-top: 10px;
    font-weight: 600;
    color: #1f8245;
}

.feedback-box h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}


/* MOBILE */
@media (max-width: 768px) {
    .scroll-top {
        width: 48px;
        height: 48px;
        bottom: 20px;
        right: 20px;
        border-radius: 10px;
    }

    .scroll-top i {
        font-size: 32px;
    }
}