.tmx-judge-panel {
    max-width: 700px;
    margin: 0 auto;
}

.tmx-category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tmx-btn {
    display: inline-block;
    padding: 10px 16px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.tmx-contestant-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tmx-contestant-card {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
}

/* --- NYA FÄLTEN FÖR BAKING/TASTE/TOTAL --- */

.tmx-score-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.tmx-score-fields label {
    font-weight: 600;
    color: #000 !important;
}

/* Tvinga vit bakgrund och svart text även i fokus */
.tmx-score-fields input[type="number"],
.tmx-score-fields input[type="number"]:focus {
    width: 120px;
    padding: 6px;
    border: 1px solid #ccc !important;
    border-radius: 4px;
    background: #ffffff !important;
    color: #000000 !important;
    outline: none !important;
    box-shadow: none !important;
}

.tmx-info {
    font-size: 13px;
    margin-bottom: 8px;
    padding: 6px;
    background: #f7f7f7;
    border-left: 3px solid #0073aa;
    color: #000 !important;
}

/* Statusmeddelande */
.tmx-score-status {
    margin-top: 6px;
    font-size: 13px;
    color: #008000;
}

/* --- RESULTATSIDA --- */

.tmx-results-view {
    max-width: 900px;
    margin: 0 auto;
}

.tmx-results-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.tmx-results-table th,
.tmx-results-table td {
    border: 1px solid #ddd;
    padding: 8px;
    color: #000 !important;
    background: #fff !important;
}

/* --- Placeringar med färg, men svart text --- */

.tmx-results-table .tmx-place-gold td,
.tmx-results-table .tmx-place-gold td * {
    background-color: #fff7d1 !important;
    color: #000000 !important;
}

.tmx-results-table .tmx-place-silver td,
.tmx-results-table .tmx-place-silver td * {
    background-color: #f0f4ff !important;
    color: #000000 !important;
}

.tmx-results-table .tmx-place-bronze td,
.tmx-results-table .tmx-place-bronze td * {
    background-color: #ffe9d6 !important;
    color: #000000 !important;
}
