/* Container principal */
.qa-container {
    margin-top: 2rem;
    padding: 20px;
    background: #fff;
 
}

.qa-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    border-bottom: 2px solid #abbf77;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Liste des questions */
.qa-item {
    padding: 15px 0;
    border-bottom: 1px dashed #ddd;
}

.qa-question-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.qa-user-name {
    font-weight: 700;
    color: #abbf77;
}

.qa-date {
    font-size: 0.85rem;
    color: #999;
}

.qa-text {
    color: #555;
    line-height: 1.5;
}

/* Bloc Réponse */
.qa-answer {
    margin-top: 10px;
    margin-left: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-left: 3px solid #e57775;
    position: relative;
}

.qa-answer::before {
    content: "Réponse de Nosenviesdeco :";
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: #e57775;
    margin-bottom: 5px;
}

/* Formulaire */
.qa-form-container {
    background: #f4f7f7;
    padding: 20px;
    margin-top: 30px;
    border-radius: 5px;
}

.qa-form-title {
    font-weight: 700;
    margin-bottom: 15px;
}

.qa-container .form-control {
    border: 1px solid #ccc;
    border-radius: 0;
    padding: 10px;
}

.qa-container .form-control:focus {
    border-color: #abbf77;
    box-shadow: none;
}

/* Bouton façon Jardideco */
.btn-qa-submit {
    background-color: #d6d4d4;
    color: white;
    border: none;
    padding: 12px 25px;
    font-weight: 700;
    transition: background 0.3s;
    cursor: pointer;
    width: 100%;
}

.btn-qa-submit:hover {
    background-color: #d6d4d4;
    color: #fff;
}

/* Captcha */
.g-recaptcha {
    margin: 15px 0;
}

/* Alignement du titre et du bouton */
.qa-header-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.qa-header-flex .qa-title {
    border-bottom: none; /* On enlève la bordure du titre seul car elle est sur le parent */
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Bouton secondaire (outline) */
.btn-qa-outline {
    background-color: transparent;
    color: #000;
        border-radius: 10px;
    background: none repeat scroll 0 0 #c8bcb4;
    padding: 8px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-qa-outline i {
    font-size: 18px;
    margin-right: 5px;
}

.btn-qa-outline:hover {
    background-color: #c8bcb4;
    color: #fff;
}

/* Header du formulaire */
.qa-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.qa-form-header .close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.no-question-msg {
    padding: 20px 0;
    font-style: italic;
}