
.qawcfm-container {
    margin: 30px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.qawcfm-ask-section {
    margin-bottom: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}
.qawcfm-ask-section h3 {
    margin: 0 0 20px 0;
    color: #2c3e50;
    font-size: 1.4em;
    font-weight: 600;
}
.qawcfm-form-group {
    margin-bottom: 20px;
}
.qawcfm-textarea {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.3s ease;
    resize: vertical;
    font-family: inherit;
}
.qawcfm-textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}
.qawcfm-submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.qawcfm-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}
.qawcfm-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}
.qawcfm-spinner {
    display: none;
}
.qawcfm-questions-section h3 {
    color: #2c3e50;
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f3f4;
}
/* Badges da Tab */
.qawcfm-tab-badge {
    background: #e74c3c;
    color: white;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 5px;
}
.qawcfm-tab-badge-new {
    background: #27ae60;
    color: white;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 5px;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
/* Dropdown de Usuários - TOGGLE STYLE */
.qawcfm-users-dropdown {
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    overflow: hidden;
}
.qawcfm-user-group {
    border-bottom: 1px solid #e1e8ed;
}
.qawcfm-user-group:last-child {
    border-bottom: none;
}
.qawcfm-user-header {
    background: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
}
.qawcfm-user-header:hover {
    background: #e9ecef;
}
.qawcfm-user-header.active {
    background: #3498db;
    color: white;
}
.qawcfm-user-header.active .qawcfm-user-name,
.qawcfm-user-header.active .qawcfm-questions-count {
    color: white;
}
.qawcfm-user-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}
.qawcfm-user-avatar img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}
.qawcfm-user-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.qawcfm-user-name {
    color: #2c3e50;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}
.qawcfm-questions-count {
    color: #7f8c8d;
    font-size: 13px;
}
.qawcfm-unanswered-badge {
    background: #e74c3c;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
}
.qawcfm-new-answers-badge {
    background: #27ae60;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
    animation: pulse 2s infinite;
}
.qawcfm-dropdown-arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
    color: #7f8c8d;
}
.qawcfm-user-header.active .qawcfm-dropdown-arrow {
    transform: rotate(90deg);
    color: white;
}
/* CONTEÚDO RECOLHIDO POR PADRÃO */
.qawcfm-user-questions {
    background: white;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}
.qawcfm-user-questions.open {
    padding: 20px;
    max-height: 5000px;
}
/* Estilos das Perguntas */
.qawcfm-question {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}
.qawcfm-question:last-child {
    margin-bottom: 0;
}
.qawcfm-question:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}
.qawcfm-question-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}
.qawcfm-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.qawcfm-user-avatar img {
    border-radius: 50%;
    width: 32px;
    height: 32px;
}
.qawcfm-user-details {
    display: flex;
    flex-direction: column;
}
.qawcfm-user-name {
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}
.qawcfm-date {
    color: #7f8c8d;
    font-size: 12px;
    margin-top: 2px;
}
.qawcfm-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}
.qawcfm-question-content {
    margin-bottom: 15px;
}
.qawcfm-question-meta {
    margin-bottom: 10px;
}
.qawcfm-question-text {
    color: #2c3e50;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}
/* 💚 RESPOSTA: FUNDO VERDE SUAVE */
.qawcfm-answer {
    background: linear-gradient(266deg, #8faf9a 0%, #1d0c0e 100%);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    color: white;
    position: relative;
    overflow: hidden;
}
.qawcfm-answer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #4caf50; /* verde mais vibrante na borda superior */
}
.qawcfm-answer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.qawcfm-answer-badge {
    background: #4caf50;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.qawcfm-answer-date {
    font-size: 11px;
    opacity: 0.8;
    color: #7f8c8d;
}
.qawcfm-answer-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #2c3e50;
}
.qawcfm-admin-controls,
.qawcfm-user-controls {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e1e8ed;
}
.qawcfm-answer-form textarea {
    width: 100%;
    min-height: 80px;
    margin-bottom: 15px;
    padding: 12px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    resize: vertical;
    font-family: inherit;
}
.qawcfm-answer-form textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}
.qawcfm-delete-qa,
.qawcfm-delete-own-qa {
    background: #e74c3c !important;
    color: white !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease;
}
.qawcfm-delete-qa:hover,
.qawcfm-delete-own-qa:hover {
    background: #c0392b !important;
    transform: translateY(-1px);
}
.qawcfm-login-notice {
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
}
.qawcfm-login-notice a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}
.qawcfm-login-notice a:hover {
    color: #f1f3f4;
}
.qawcfm-no-questions {
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
    color: #7f8c8d;
    border: 2px dashed #e1e8ed;
}
.qawcfm-no-questions p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}
.qawcfm-submitting {
    opacity: 0.7;
    pointer-events: none;
}
.qawcfm-answer-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}
/* Responsive */
@media (max-width: 768px) {
    .qawcfm-question-header,
    .qawcfm-user-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .qawcfm-answer-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .qawcfm-ask-section,
    .qawcfm-question {
        padding: 20px;
    }
    .qawcfm-user-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .qawcfm-user-questions.open {
        padding: 15px;
    }
}
/* Animações */
@keyframes qawcfm-fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.qawcfm-question {
    animation: qawcfm-fadeIn 0.4s ease-out;
}
.qawcfm-user-questions.open {
    animation: qawcfm-fadeIn 0.3s ease-out;
}
