/* Tablero Tournament CSS File */
/* Location: /assets/css/tablero-tournament-engine.css */

/* --- Layout Assets --- */

.tablero-wrap table.wp-list-table {
    margin-top: 15px;
}

.tablero_tournament_date_time_grid {
    display: inline-grid;
    grid-template-columns: auto auto auto;
    gap: 0 8px;
    align-items: center;
}

.tablero_tournament_date_row, 
.tablero_tournament_time_row {
    display: contents;
}

.tablero_tournament_time_row {
    font-size: 0.88em; 
    color: #646970;
}

.tablero_tournament_logo_thumb {
    width: 32px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* --- Standardized Action Component Utilities --- */

/* Force the action column to give the button container enough horizontal space */
.tablero-wrap table.wp-list-table th:last-child,
.tablero-wrap table.wp-list-table td:last-child {
    width: 170px !important;
    min-width: 170px !important;
    max-width: 190px !important;
    vertical-align: middle !important;
}

/* Structural wrapper block that safely houses the vertical action layout */
.tablero_tournament_action_container {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Universal utility to turn links into solid, uniform, stacking blocks */
.tablero_tournament_btn_stretch {
    display: block !important; 
    clear: both !important;    
    width: 100% !important;    
    text-align: center !important;
    white-space: nowrap !important;
    margin: 0 0 8px 0 !important; /* Fixed bottom margin guarantees zero overlap */
    padding: 5px 8px !important;
    height: auto !important;     
    min-height: 28px !important;
    box-sizing: border-box !important;
}

/* Strip out the trailing margin on the final action element within the container */
.tablero_tournament_btn_stretch:last-child {
    margin-bottom: 0 !important;
}