/* ===============================
   CHestionar Detaliat
=============================== */

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.form-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

/* ===== Rating pills ===== */

.rating {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.rating input {
    display: none;
}

.rating span {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: 0.2s;
}

/* hover */
.rating span:hover {
    background: #f0f0f0;
}

/* selected */
.rating input:checked + span {
    background: #2e7d32;
    color: #fff;
    border-color: #2e7d32;
}

/* ===== Select & textarea ===== */

select, textarea {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}

/* ===== Button ===== */

button {
    padding: 10px 18px;
    border-radius: 6px;
    border: none;
    background: #2e7d32;
    color: #fff;
    cursor: pointer;
}

button:hover {
    background: #256628;
}

/* ===== Honeypot ===== */

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* ===== Final form ===== */

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-weight: 500;
}

.toast-success {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #2e7d32;
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.toast-success.show {
    opacity: 1;
    transform: translateY(0);
}

.alert-error {
    background: #fdecea;
    color: #b71c1c;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
}

/* =========================================================
   INFO BOX CHestionar
========================================================= */

.info-box {
    background: #f5f7f6;
    border-left: 4px solid #2e7d32;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 14px;
}

.info-list {
    margin: 10px 0;
    padding-left: 18px;
}

.info-list li {
    margin-bottom: 6px;
}

/* link document */
.link-doc {
    font-weight: 600;
    color: #2e7d32;
    text-decoration: underline;
}

.link-doc:hover {
    opacity: 0.8;
}

.icon-doc {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
}