/* Psych Section */
.mental-container {
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

.mood-tracker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.daily-mood {
    text-align: center;
    flex: 1;
}

.mood-chart-mini {
    flex: 1;
    height: 150px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 20px;
}

.divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.psych-test-center h2 {
    color: var(--primary);
    margin-bottom: 10px;
}

.section-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.test-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.test-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.test-card .icon {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    background: rgba(59, 130, 246, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.test-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-main);
}

.test-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Active Test Runner */
.test-runner {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    margin-top: 2rem;
    border: 1px solid var(--primary);
    animation: fadeIn 0.4s;
}

.test-runner.hidden {
    display: none;
}

.test-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.question-block {
    margin-bottom: 2rem;
}

.question-text {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-btn {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: left;
    color: var(--text-main);
}

.option-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--primary);
}

.test-results {
    text-align: center;
    padding: 2rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 16px;
    border: 1px solid var(--success);
}

.result-score {
    font-size: 3rem;
    font-weight: 700;
    color: var(--success);
    margin: 1rem 0;
}

.result-feedback {
    color: var(--text-muted);
    line-height: 1.6;
}

.solutions {
    text-align: left;
    margin-top: 2rem;
    background: var(--bg-dark);
    padding: 1.5rem;
    border-radius: 12px;
}

.solutions ul {
    margin-left: 20px;
    margin-top: 10px;
}