/* Kolkata FF Results Styles */
.kff-results-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 100%;
    margin: 0 auto;
    padding: 15px;
    line-height: 1.6;
}
.kff-refresh-section { margin: 20px 0; text-align: center;}
.wp-block-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;}
.wp-block-button { margin: 0;}
.wp-block-button__link {
    display: inline-block; padding: 12px 20px; text-decoration: none;
    font-weight: 600; border-radius: 4px; transition: all 0.3s ease;
    border: none; cursor: pointer;
}
.kff-refresh-btn { background-color: #dc3545 !important; color: white !important; font-size: 14px; padding: 10px 25px;}
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.2);}
.kff-results-table {
    width: 100%; max-width: 800px; margin: 0 auto 20px auto;
    border-collapse: collapse; border: 2px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); background: white;
}
.kff-results-table th {
    background: linear-gradient(135deg, #007cba, #0056b3);
    color: white; padding: 12px; text-align: center;
    font-weight: bold; font-size: 16px; border-bottom: 2px solid #ddd;
}
.kff-results-table td {
    border: 1px solid #ddd; padding: 12px 8px; text-align: center;
    font-size: 16px; font-weight: 600; min-width: 60px;
    height: 45px; vertical-align: middle;
}
.kff-results-table tr:first-child td { background-color: #f8f9fa; font-weight: bold; color: #333;}
.kff-results-table tr:last-child td { background-color: #e9ecef; font-weight: bold; color: #495057;}
.kff-results-table tr:hover td { background-color: #fff3cd;}
.kff-no-results-message { background-color: #fff3cd; border: 1px solid #ffeaa7; color: #856404;
    padding: 15px; border-radius: 8px; text-align: center; margin: 20px 0; font-weight: 500;
}
.kff-empty-table .kff-results-table td { color: #999; font-style: italic;}
.kff-info-section { margin: 30px 0 20px 0;}
.kff-info-text {
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    padding: 15px; border-radius: 8px; text-align: center;
    font-size: 13px; border-left: 4px solid #007cba; line-height: 1.5;
}
.kff-past-results { margin-top: 30px;}
.kff-past-result-item { margin-bottom: 15px;}
@media (max-width: 768px) {
    .kff-results-container { padding: 10px;}
    .wp-block-button__link { padding: 10px 15px; font-size: 14px;}
    .kff-results-table { font-size: 14px;}
    .kff-results-table th, .kff-results-table td { padding: 8px 4px; font-size: 14px; min-width: 45px; height: 40px;}
}
@media (max-width: 480px) {
    .wp-block-buttons { flex-direction: column; align-items: center;}
    .wp-block-button { width: 100%; max-width: 200px;}
    .kff-results-table th, .kff-results-table td { padding: 6px 2px; font-size: 12px; min-width: 35px; height: 35px;}
    .kff-info-text { font-size: 12px; padding: 12px;}
}
.kff-loading { text-align: center; padding: 20px; font-style: italic; color: #666;}
.wp-block-button__link:focus { outline: 2px solid #005ccc; outline-offset: 2px;}
@media print {
    .kff-refresh-section { display: none;}
    .kff-results-table { border: 2px solid #000;}
    .kff-results-table th { background-color: #ccc !important; color: #000 !important;}
    .kff-info-section { display: none;}
}