/**
 * UK49s Teatime Auto Results Stylesheet
 * Matches teatimeresults.co GeneratePress table and card styling
 */

.uk49s-teatime-today-wrapper {
    margin: 25px 0;
}

.uk49s-teatime-heading {
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 700;
}

/* Today Result Card */
.uk49s-teatime-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.uk49s-teatime-card-date .uk49s-day {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px 0 !important;
    color: #222;
}

.uk49s-teatime-card-date .uk49s-date {
    font-size: 15px;
    color: #666;
    margin: 0 !important;
}

.uk49s-teatime-balls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.uk49s-t-ball {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
}

.uk49s-t-main {
    background-color: #f0f4f8;
    color: #1e73be;
    border: 2px solid #1e73be;
}

.uk49s-t-booster {
    background-color: #e74c3c;
    color: #ffffff;
    border: 2px solid #c0392b;
}

/* Table styling matching standard wp-block-table on teatimeresults.co */
.uk49s-teatime-datatable {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.uk49s-teatime-datatable th,
.uk49s-teatime-datatable td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    font-size: 15px;
}

.uk49s-teatime-datatable th {
    background-color: #f7f8f9;
    color: #222;
    font-weight: 700;
}

.uk49s-teatime-datatable tbody tr:nth-child(even) {
    background-color: #fafbfc;
}

.uk49s-teatime-datatable td.has-text-align-center,
.uk49s-teatime-datatable th.has-text-align-center {
    text-align: center;
}

.uk49s-booster-cell {
    color: #d93829;
    font-weight: bold;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .uk49s-teatime-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .uk49s-teatime-balls {
        justify-content: center;
    }
    .uk49s-t-ball {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    .uk49s-teatime-datatable th,
    .uk49s-teatime-datatable td {
        padding: 6px 4px;
        font-size: 13px;
    }
}
