/* Values Inventory specific styles */

.instructions {
    font-size: 1.2em;
    margin: 30px 0;
    padding: 20px;
    background: rgba(139, 69, 19, 0.1);
    border-radius: 8px;
    border-left: 4px solid #8B4513;
    color: #2c1810;
    text-align: left;
    line-height: 1.7;
}

.question {
    background: white;
    border: 1px solid #d4c4a8;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.question h3 {
    color: #8b4513;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.question-text {
    color: #4a3728;
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.5;
}

.ranking-area {
    min-height: 200px;
    background: #faf8f3;
    border: 2px dashed #d4c4a8;
    border-radius: 4px;
    padding: 15px;
}

.ranking-instructions {
    color: #8b4513;
    font-size: 0.95em;
    margin-bottom: 15px;
    font-style: italic;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.keep-order-btn {
    background: #8b4513;
    color: white;
    border: none;
    padding: 4px 12px;
    font-size: 0.85em;
    border-radius: 3px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
    font-style: normal;
}

.keep-order-btn:hover {
    background: #8b4513;
}

.option-card {
    background: white;
    border: 2px solid #d4c4a8;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    cursor: move;
    transition: all 0.2s;
    user-select: none;
    display: flex;
    align-items: flex-start;
    text-align: left;
}

.option-card:hover {
    border-color: #8b4513;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.option-card.dragging {
    opacity: 0.5;
}

.option-card.ranked {
    background: #e8f4e8;
    border-color: #6b9b6b;
}

.rank-label {
    display: inline-block;
    background: #8b4513;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.85em;
    margin-right: 10px;
    min-width: 110px;
    text-align: center;
    flex-shrink: 0;
}

.option-card.ranked .rank-label {
    background: #6b9b6b;
}

.option-text {
    color: #4a3728;
    line-height: 1.5;
    flex: 1;
}

.submit-section {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background: #8b4513;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1em;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #8b4513;
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.results {
    display: none;
    margin-top: 30px;
}

.results.show {
    display: block;
}

.profile-content {
    margin-top: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    border: 2px solid rgba(139, 69, 19, 0.3);
}

.profile-content h3 {
    color: #8B4513;
    margin-bottom: 20px;
    font-size: 1.6em;
    text-align: center;
}

.profile-content h4 {
    color: #8B4513;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.3em;
    text-align: left;
}

.profile-content p {
    line-height: 1.8;
    font-size: 1.2em;
    color: #2c1810;
    text-align: left;
    margin-bottom: 15px;
}

.profile-content ul {
    margin-left: 30px;
    line-height: 1.8;
    font-size: 1.2em;
    text-align: left;
    color: #2c1810;
}

.profile-content li {
    margin-bottom: 8px;
}

.scores-heading {
    color: #8B4513;
    margin: 30px 0 15px 0;
    font-size: 1.6em;
    text-align: center;
    font-weight: bold;
}

.scores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.score-item {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(139, 69, 19, 0.3);
    padding: 15px;
    border-radius: 8px;
}

.score-item strong {
    color: #8B4513;
    font-size: 1.1em;
}

.progress-indicator {
    text-align: center;
    color: #8b4513;
    margin-bottom: 20px;
    font-size: 0.95em;
}