/* Bát Trạch Score Container */
.bat-trach-score-container {
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
    color: #333;
    font-family: 'Times New Roman', serif;
    border: 2px solid red; 
}

.bat-trach-score-container h3 {
    text-align: center;
    color: #d4a017;
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* Score Summary */
.score-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: linear-gradient(145deg, #f9f9f9, #ffffff);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.total-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #d4a017;
    color: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.score-value {
    font-size: 32px;
    font-weight: bold;
}

.score-label {
    font-size: 12px;
    text-align: center;
    margin-top: 5px;
}

.score-details {
    flex: 1;
    margin-left: 20px;
}

.score-category {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #eee;
}

.category-name {
    font-weight: bold;
    color: #555;
}

.category-score {
    font-weight: bold;
    color: #d4a017;
}

/* Score Analysis */
.score-analysis {
    margin-bottom: 20px;
}

.score-analysis h4 {
    color: #d4a017;
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
}

.analysis-section {
    margin-bottom: 20px;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
}

.analysis-section h5 {
    color: #5a2c02;
    font-size: 16px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
}

.score-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.item-name {
    color: #555;
}

.item-score {
    font-weight: bold;
    color: #d4a017;
}

/* Score Evaluation */
.score-evaluation {
    margin-bottom: 20px;
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
}

.score-evaluation h4 {
    color: #d4a017;
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
}

.evaluation-text {
    font-size: 14px;
    line-height: 1.6;
    text-align: justify;
}

/* Score Buttons */
.score-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.score-btn {
    flex: 1;
    margin: 0 5px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #d4a017;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.score-btn:hover {
    background-color: #b3890e;
    transform: translateY(-2px);
}

.score-btn:active {
    transform: translateY(0);
}

/* Các style hiện có giữ nguyên, bổ sung thêm */

.score-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px;
    background: rgba(255,255,255,0.7);
    border-radius: 5px;
}

.item-name {
    flex: 2;
    font-weight: bold;
    color: #5a2c02;
}

.item-detail {
    flex: 3;
    text-align: center;
    padding: 0 10px;
    color: #d4a017;
    font-style: italic;
}

.item-score {
    flex: 1;
    text-align: right;
    font-weight: bold;
    background: #f8f8f8;
    padding: 3px 8px;
    border-radius: 10px;
    min-width: 40px;
}

.section-total {
    background: #d4a017;
    color: white;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 14px;
    margin-left: 10px;
}

.score-rating {
    font-size: 12px;
    margin-top: 5px;
    color: white;
    background: #27ae60;
    padding: 2px 5px;
    border-radius: 3px;
    display: inline-block;
}
/* Responsive Design */
@media (max-width: 768px) {
    .score-summary {
        flex-direction: column;
        align-items: center;
    }
    
    .score-details {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
    }
    
    .score-buttons {
        flex-direction: column;
    }
    
    .score-btn {
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .bat-trach-score-container h3 {
        font-size: 20px;
    }
    
    .analysis-section {
        padding: 10px;
    }
    
    .score-item, .score-category {
        font-size: 14px;
    }
}
