/*
Theme Name: Mental Core Platform
Author: Ayman
Version: 1.0
Text Domain: mental-core
*/





/* ===== شكل أسئلة الاختبار ===== */
#psych-test-container {
    max-width: 700px;
    margin: 30px auto;
    font-family: 'DM Sans', sans-serif;
    background: #f9f9f9;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.psych-question p {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.psych-question label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.psych-question input[type="radio"] {
    margin-right: 12px;
}

.psych-question label:hover {
    background: #f0e7ff;
    border-color: #7720ec;
}

input[type="submit"] {
    display: inline-block;
    margin-top: 15px;
    background: #7720ec;
    color: #fff;
    font-size: 16px;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

input[type="submit"]:hover {
    background: #5e17b0;
}

/* زر إعادة الاختبار */
#reset-test {
    display: inline-block;
    margin-top: 15px;
    background: #ff6b6b;
    color: #fff;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: background 0.3s ease;
}

#reset-test:hover {
    background: #d94d4d;
}

/* نتيجة الاختبار */
#psych-test-container h3 {
    margin-top: 20px;
    font-size: 20px;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    color: #fff;
}

/* Responsive */
@media (max-width:768px){
    #psych-test-container {
        padding: 15px 20px;
    }

    .psych-question p {
        font-size: 16px;
    }

    input[type="submit"], #reset-test {
        width: 100%;
    }
}


#psychChart {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
