/**
 * File Name: faq-style.css
 * Path: /assets/css/faq-style.css
 * Plugin Name: All FAQ Manager
 * Author: NidoSpa
 * Description: Stylesheets for the accordion layout on the front-end and custom interfaces in the admin area.
 *
 * @package All_FAQ_Manager
 */

/* --- Stili dell'Accordion --- */
.afm-accordion-wrapper { 
    max-width: 100%; 
    margin: 0 auto; 
    font-family: inherit; 
}
.afm-item { 
    border: 1px solid #e2e8f0; 
    border-radius: 8px;
    margin-bottom: 10px; 
    overflow: hidden;
    background: #ffffff;
}
.afm-question { 
    font-weight: 600; 
    cursor: pointer; 
    padding: 18px 20px; 
    background: #f8fafc; 
    outline: none; 
    list-style: none; 
    transition: background 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.afm-question::-webkit-details-marker { 
    display: none; 
}
.afm-question::after { 
    content: "+"; 
    font-weight: bold; 
    font-size: 1.2em;
    color: #64748b;
}
.afm-item[open] .afm-question { 
    background: #f1f5f9; 
    border-bottom: 1px solid #e2e8f0;
}
.afm-item[open] .afm-question::after { 
    content: "-"; 
}
.afm-answer { 
    padding: 20px; 
    color: #334155; 
    line-height: 1.6; 
}
.afm-cta-group { 
    margin-top: 20px; 
    display: flex; 
    gap: 12px; 
    flex-wrap: wrap;
}
.afm-btn { 
    display: inline-block; 
    padding: 10px 20px; 
    background: #0f172a; 
    color: #ffffff !important; 
    text-decoration: none; 
    border-radius: 6px; 
    font-size: 14px; 
    font-weight: 500;
    transition: background 0.2s ease;
}
.afm-btn:hover { 
    background: #334155; 
}

/* --- Pulsante Sticky Flottante --- */
.afm-sticky-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #000000;
    color: #ffffff !important;
    padding: 15px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
}
.afm-sticky-button:hover {
    transform: translateY(-5px);
    background-color: #334155;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* --- Correzioni per Pannello Admin --- */
.afm-row input { height: 32px; }