/* Container */
.psychside-container {
    max-width: 800px;
    margin: 40px auto;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    min-height: 400px;
    position: relative;
}

/* Progress Bar */
#psychside-progress-bar {
    width: 100%;
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    margin-bottom: 30px;
    overflow: hidden;
}

#psychside-progress-bar .bar {
    height: 100%;
    width: 0%;
    background: #4caf50;
    /* Green */
    transition: width 0.3s ease;
}

/* Buttons */
.psychside-btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 10px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: left;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
}

.psychside-btn:hover {
    border-color: #4caf50;
    background: #f9fff9;
}

#psychside-start-btn {
    background: #4caf50;
    color: #fff;
    border: none;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}

#psychside-start-btn:hover {
    background: #45a049;
}

/* Question Card */
.psychside-question-card {
    text-align: center;
}

.psychside-q-text {
    font-size: 24px;
    margin-bottom: 30px;
    color: #222;
}

.psychside-q-options {
    max-width: 600px;
    margin: 0 auto;
}

.psychside-q-meta {
    margin-top: 20px;
    color: #999;
    font-size: 12px;
}

/* Animation */
.animate-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Checkbox Style */
.psychside-option-label {
    display: block;
    padding: 15px;
    border: 2px solid #ddd;
    margin-bottom: 10px;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
}

.psychside-option-label:hover {
    border-color: #4caf50;
}

.psychside-checkbox {
    margin-right: 10px;
}

/* Result */
.psychside-result-card {
    text-align: center;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fdfdfd;
}

.psychside-result-card h2 {
    color: #4caf50;
    font-size: 32px;
    margin-bottom: 20px;
}

.psychside-score-box {
    font-size: 20px;
    font-weight: bold;
    margin: 20px 0;
}

.psychside-trait-chart {
    text-align: left;
    margin: 20px auto;
    max-width: 400px;
}

.trait-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px dashed #eee;
}

/* Loading */
#psychside-loading {
    text-align: center;
    font-size: 18px;
    padding: 50px;
    color: #666;
}

/* Related Tests */
.psychside-related-tests {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.psychside-related-list {
    list-style: none;
    padding: 0;
}

.psychside-related-list li {
    margin-bottom: 10px;
}

.psychside-related-list a {
    text-decoration: none;
    color: #4caf50;
    font-weight: bold;
    font-size: 18px;
}

.psychside-related-list a:hover {
    text-decoration: underline;
}