/*
 * Styles for the Tipster Predictions Table plugin.
 *
 * You can override these rules in your theme by adding more specific selectors.
 */

.tipster-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: inherit;
}

.tipster-table th,
.tipster-table td {
    border: 1px solid #e0e6f1;
    padding: 6px 8px;
    vertical-align: top;
}

.tipster-table th {
    background-color: #f5f8fc;
    font-weight: 600;
    text-align: left;
}

.tipster-table .rezultat-verde {
    color: #0a8f3c;
    font-weight: bold;
}

.tipster-table .rezultat-rosu {
    color: #c00000;
    font-weight: bold;
}

/* Ensure that AnWP match cards inside the table occupy available width and scale down appropriately */
.tipster-table td > * {
    max-width: 100%;
    display: block;
}

/* Reduce padding on match cell to make the card appear more compact */
.tipster-table td:first-child {
    padding-top: 4px;
    padding-bottom: 4px;
}

/* Center and enlarge pronostic text */
.tipster-table td:nth-child(2) {
    /* centrează pronosticul pe verticală și orizontală */
    text-align: center;
    vertical-align: middle;
    font-size: 1.2em;
    font-weight: 600;
}

/* Center and enlarge result symbol */
.tipster-table td:nth-child(3) {
    text-align: center;
    vertical-align: middle;
    font-size: 1.4em;
}

/* Limit the height of the match card to keep rows compact */
.tipster-table td:first-child > * {
    max-height: 120px;
    overflow: hidden;
}