
/*
 * SEHATOUNA Comptes & Forum Santé - Styles front
 * Couleurs principales : vert #0d6a3e, orange #ff7c01
 */

.sehatouna-cf-form {
    max-width: 600px;
    margin: 1.5rem 0;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #0d6a3e;
    background: #f9fdfb;
}

.sehatouna-cf-field {
    margin-bottom: 1rem;
}

.sehatouna-cf-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #0d6a3e;
}

.sehatouna-cf-field input[type="text"],
.sehatouna-cf-field input[type="email"],
.sehatouna-cf-field input[type="password"],
.sehatouna-cf-field select,
.sehatouna-cf-field textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.5rem 0.6rem;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.sehatouna-cf-field textarea {
    min-height: 120px;
}

.sehatouna-cf-field-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-weight: 500;
}

.sehatouna-cf-field-checkbox input[type="checkbox"] {
    margin-top: 0.2rem;
}

.sehatouna-cf-button {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: 4px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.95rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.sehatouna-cf-button-primary {
    background: #ff7c01;
    color: #ffffff;
}

.sehatouna-cf-button-primary:hover {
    background: #e86e00;
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.18);
}

.sehatouna-cf-message {
    padding: 1rem 1.25rem;
    border-radius: 4px;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.sehatouna-cf-message-success {
    border-left: 4px solid #0d6a3e;
    background: #e6f5ee;
    color: #0d6a3e;
}

.sehatouna-cf-message-error {
    border-left: 4px solid #ff7c01;
    background: #fff3e6;
    color: #a54b00;
}

.sehatouna-cf-message-info {
    border-left: 4px solid #0d6a3e;
    background: #eef7f2;
    color: #0d6a3e;
}

.sehatouna-cf-questions-list {
    margin-top: 2rem;
}

.sehatouna-cf-question {
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
}

.sehatouna-cf-question h4 {
    margin: 0 0 0.5rem;
}

.sehatouna-cf-question h4 a {
    color: #0d6a3e;
    text-decoration: none;
}

.sehatouna-cf-question h4 a:hover {
    text-decoration: underline;
}

.sehatouna-cf-question-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.sehatouna-cf-question-excerpt {
    font-size: 0.9rem;
    color: #374151;
}

/* Responsive */
@media (max-width: 600px) {
    .sehatouna-cf-form {
        padding: 1rem;
    }

    .sehatouna-cf-button {
        width: 100%;
        text-align: center;
    }

    .sehatouna-cf-question-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}
