/**
 * SiKReT Schedule Plugin Styles - Subtelne, dostosowane do formularza zapisów
 * Responsive design for all screen sizes
 */

/* Container styles for full width */
.sikret-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Enhanced responsive table wrapper with better scrolling */
.sikret-table-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    border-radius: 4px;
    scroll-behavior: smooth;
    /* Force horizontal scroll on all devices */
    min-width: 0;
    max-width: 100%;
    /* Enhanced scrolling indicators */
    scrollbar-width: thin;
    scrollbar-color: #ef9d2f #f1f3f4;
}

/* Force tables to be responsive with better layout */
.sikret-table-wrapper table {
    min-width: 100%;
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    /* Force horizontal scroll by setting minimum width */
    min-width: 800px !important;
    width: auto !important;
}

/* Removed scroll indicators - cleaner look */

/* Enhanced mobile scrolling with better indicators */
@media (max-width: 768px) {
    .sikret-table-wrapper {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #ef9d2f #f1f3f4;
        /* Add scroll indicators */
        position: relative;
    }
    
    .sikret-table-wrapper::-webkit-scrollbar {
        height: 10px;
    }
    
    .sikret-table-wrapper::-webkit-scrollbar-track {
        background: #f1f3f4;
        border-radius: 5px;
    }
    
    .sikret-table-wrapper::-webkit-scrollbar-thumb {
        background: #ef9d2f;
        border-radius: 5px;
        border: 1px solid #d68910;
    }
    
    .sikret-table-wrapper::-webkit-scrollbar-thumb:hover {
        background: #d68910;
    }
    
    /* Add scroll shadow indicators */
    .sikret-table-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        pointer-events: none;
        background: linear-gradient(to right, rgba(0,0,0,0.1) 0%, transparent 10%, transparent 90%, rgba(0,0,0,0.1) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    /*.sikret-table-wrapper:hover::before {
        opacity: 1;
    }*/
}

.sikret-schedule {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #ddd;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.sikret-title {
    font-size: 1.5em;
    margin: 0;
    color: #ef9d2f;
    background: #fff;
    padding: 12px 20px;
    font-weight: 600;
    border-bottom: 2px solid #ef9d2f;
}

.sikret-subtitle {
    font-size: 1.1em;
    margin: 20px 20px 12px 20px;
    color: #ef9d2f;
    font-weight: 500;
    border-left: 3px solid #ef9d2f;
    padding-left: 12px;
}

.sikret-table {
    width: auto !important;
    min-width: 800px !important;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0 0 15px 0;
    border: 1px solid #ddd;
    table-layout: fixed;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.sikret-table th,
.sikret-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
    color: #333;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    vertical-align: middle;
}

.sikret-table td:first-child {
    white-space: normal;
    min-width: 150px;
    max-width: 150px;
    font-weight: 500;
}

.sikret-table td:nth-child(2) {
    min-width: 300px;
    max-width: 300px;
    white-space: nowrap;
    overflow: visible;
}

.sikret-table td:nth-child(3) {
    min-width: 250px;
    max-width: none;
    text-align: center;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: visible;
    word-break: keep-all;
}

.sikret-table th {
    font-weight: 600;
    background: #f8f9fa;
    color: #495057;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Removed hover effects to prevent mobile shadows */

.sikret-table tbody tr:last-child td {
    border-bottom: none;
}


.sikret-no-matches {
    color: #6c757d;
    font-style: italic;
    text-align: center;
    padding: 25px 20px;
    background: #fff;
    margin: 0 20px 15px 20px;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.sikret-error {
    color: #dc3545;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 12px 20px;
    border-radius: 4px;
    margin: 20px;
    font-weight: 400;
}

.sikret-all-categories .sikret-schedule {
    margin-bottom: 25px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: #fff;
}

.sikret-all-categories .sikret-schedule:last-child {
    margin-bottom: 0;
}

/* Standings table styles */
.sikret-standings {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #ddd;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.sikret-standings .sikret-title {
    font-size: 1.5em;
    margin: 0;
    color: #ef9d2f;
    background: #fff;
    padding: 12px 20px;
    font-weight: 600;
    border-bottom: 2px solid #ef9d2f;
}

.sikret-group-name {
    font-size: 1em;
    margin: 0;
    padding: 10px 20px;
    color: #666;
    font-weight: 500;
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.sikret-standings-table {
    width: auto !important;
    min-width: 1000px !important;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    table-layout: fixed;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.sikret-standings-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 10;
}

.sikret-standings-table th {
    padding: 15px 8px;
    text-align: center;
    font-weight: 600;
    color: #495057;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-right: 1px solid #dee2e6;
}

.sikret-standings-table th:last-child {
    border-right: none;
}

.sikret-standings-table th:nth-child(1) {
    min-width: 60px;
    max-width: 60px;
}

.sikret-standings-table th:nth-child(2) {
    text-align: left;
    padding-left: 15px;
    min-width: 180px;
    max-width: 180px;
}

.sikret-standings-table th:nth-child(3),
.sikret-standings-table th:nth-child(4),
.sikret-standings-table th:nth-child(5) {
    min-width: 50px;
    max-width: 50px;
}

.sikret-standings-table th:nth-child(6),
.sikret-standings-table th:nth-child(7),
.sikret-standings-table th:nth-child(8),
.sikret-standings-table th:nth-child(9) {
    min-width: 60px;
    max-width: 60px;
}

.sikret-standings-table tbody tr {
    border-bottom: 1px solid #e9ecef;
}

/* Removed hover effects to prevent mobile shadows */

.sikret-standings-table tbody tr:last-child {
    border-bottom: none;
}

.sikret-standings-table td {
    padding: 12px 8px;
    text-align: center;
    color: #333;
    font-size: 0.9em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-right: 1px solid #f1f3f4;
    vertical-align: middle;
}

.sikret-standings-table td:last-child {
    border-right: none;
}

.sikret-standings-table td:first-child {
    font-weight: 700;
    color: #ef9d2f;
    font-size: 1em;
}

.sikret-standings-table td.sikret-team-name {
    text-align: left;
    padding-left: 15px;
    font-weight: 500;
}

.sikret-standings-table td.sikret-points {
    font-weight: 700;
    color: #333;
    font-size: 1.05em;
}

.sikret-standings-table tr.sikret-our-team {
    background: #fff3e0;
    font-weight: 600;
}

.sikret-standings-table tr.sikret-our-team:hover {
    background: #ffe0b2;
}

.sikret-standings-table tr.sikret-our-team td {
    color: #000;
}

.sikret-standings-table tr.sikret-our-team td:first-child {
    color: #ef9d2f;
}

.sikret-standings-table tr.sikret-our-team td.sikret-team-name {
    font-weight: 700;
    color: #ef9d2f;
}

.sikret-no-standings {
    color: #6c757d;
    font-style: italic;
    text-align: center;
    padding: 25px 20px;
    background: #fff;
    margin: 0;
    border-radius: 0;
}

/* Combined schedule and standings layout */
.sikret-schedule-combined {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #ddd;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.sikret-content-wrapper {
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.sikret-schedule-side {
    flex: 1;
    min-width: 0;
    padding: 20px;
    border-right: 1px solid #e9ecef;
}

.sikret-standings-side {
    flex: 1;
    min-width: 0;
    padding: 20px;
}

/* New matches grid layout - two columns side by side */
.sikret-matches-grid {
    display: flex;
    gap: 20px;
    padding: 20px;
    width: 100%;
}

.sikret-matches-column {
    flex: 1;
    min-width: 0;
}

.sikret-matches-column .sikret-subtitle {
    margin: 0 0 12px 0;
    padding-left: 0;
    border-left: none;
    font-size: 1.1em;
    color: #ef9d2f;
    font-weight: 600;
}

/* Ensure the matches grid takes full width */
.sikret-schedule-combined .sikret-matches-grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.sikret-schedule-side .sikret-subtitle {
    margin: 0 0 12px 0;
    padding-left: 0;
    border-left: none;
    font-size: 1.1em;
    color: #ef9d2f;
    font-weight: 600;
}

.sikret-standings-side .sikret-subtitle {
    margin: 0 0 8px 0;
    padding-left: 0;
    border-left: none;
    font-size: 1.1em;
    color: #ef9d2f;
    font-weight: 600;
}

.sikret-standings-side .sikret-group-name {
    margin: 0 0 15px 0;
    padding: 0;
    font-size: 0.9em;
    color: #666;
    font-weight: 500;
    background: none;
    border: none;
}

.sikret-standings-side .sikret-standings-table {
    font-size: 0.9em;
}

.sikret-standings-side .sikret-standings-table th {
    padding: 8px 6px;
    font-size: 0.8em;
}

.sikret-standings-side .sikret-standings-table td {
    padding: 8px 6px;
    font-size: 0.85em;
}

.sikret-standings-side .sikret-standings-table th:nth-child(2),
.sikret-standings-side .sikret-standings-table td.sikret-team-name {
    padding-left: 8px;
}

/* Enhanced responsive design */
@media (max-width: 768px) {
    .sikret-schedule {
        margin: 15px 0;
        width: 100%;
        max-width: 100%;
        border-radius: 6px;
    }
    
    .sikret-title {
        font-size: 1.3em;
        padding: 12px 15px;
    }
    
    .sikret-subtitle {
        font-size: 1em;
        margin: 15px 15px 10px 15px;
        padding-left: 10px;
    }
    
    /* Enhanced table wrapper for mobile */
    .sikret-table-wrapper {
        border-radius: 6px;
        margin: 0 0 20px 0;
    }
    
    .sikret-table {
        font-size: 0.9em;
        width: auto !important;
        min-width: 900px !important;
        table-layout: fixed;
        /* Force horizontal scroll */
        display: table !important;
    }
    
    .sikret-table th,
    .sikret-table td {
        padding: 10px 8px;
        font-size: 0.9em;
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        vertical-align: middle;
    }
    
    .sikret-table td:first-child {
        white-space: normal;
        min-width: 130px;
        max-width: 130px;
        font-weight: 600;
        color: #495057;
    }
    
    .sikret-table td:nth-child(2) {
        min-width: 220px;
        max-width: 220px;
        font-weight: 500;
    }
    
    .sikret-table td:nth-child(3) {
        min-width: 200px;
        max-width: none;
        text-align: center;
        font-weight: 700;
        color: #333;
        white-space: nowrap;
        overflow: visible;
        word-break: keep-all;
    }
    
    /* Enhanced scrollbar for mobile */
    .sikret-table-wrapper::-webkit-scrollbar {
        height: 10px;
    }
    
    .sikret-table-wrapper::-webkit-scrollbar-track {
        background: #f1f3f4;
        border-radius: 5px;
    }
    
    .sikret-table-wrapper::-webkit-scrollbar-thumb {
        background: #ef9d2f;
        border-radius: 5px;
        border: 1px solid #d68910;
    }
    
    .sikret-table-wrapper::-webkit-scrollbar-thumb:hover {
        background: #d68910;
    }
    
    /* Removed scroll indicators - cleaner look */
    
    .sikret-upcoming {
        padding: 0 15px;
    }
    
    .sikret-upcoming li {
        padding: 8px 12px;
        font-size: 0.95em;
    }
    
    .sikret-no-matches {
        margin: 0 15px 15px 15px;
        padding: 20px 15px;
    }
    
    .sikret-error {
        margin: 15px;
        padding: 10px 15px;
    }
    
    /* Enhanced standings responsive */
    .sikret-standings {
        margin: 15px 0;
        width: 100%;
        max-width: 100%;
        border-radius: 6px;
    }
    
    .sikret-standings .sikret-title {
        font-size: 1.3em;
        padding: 12px 15px;
    }
    
    .sikret-group-name {
        padding: 10px 15px;
        font-size: 0.95em;
    }
    
    .sikret-standings-table {
        font-size: 0.85em;
        width: auto !important;
        min-width: 1200px !important;
        table-layout: fixed;
        /* Force horizontal scroll */
        display: table !important;
    }
    
    .sikret-standings-table th {
        padding: 10px 6px;
        font-size: 0.8em;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .sikret-standings-table td {
        padding: 10px 6px;
        font-size: 0.85em;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: middle;
    }
    
    /* Optimized column widths for mobile standings */
    .sikret-standings-table th:nth-child(1),
    .sikret-standings-table td:nth-child(1) {
        min-width: 50px;
        max-width: 50px;
    }
    
    .sikret-standings-table th:nth-child(2),
    .sikret-standings-table td.sikret-team-name {
        min-width: 160px;
        max-width: 160px;
        text-align: left;
        padding-left: 12px;
    }
    
    .sikret-standings-table th:nth-child(3),
    .sikret-standings-table td:nth-child(3) {
        min-width: 45px;
        max-width: 45px;
    }
    
    .sikret-standings-table th:nth-child(4),
    .sikret-standings-table td:nth-child(4) {
        min-width: 45px;
        max-width: 45px;
    }
    
    .sikret-standings-table th:nth-child(5),
    .sikret-standings-table td:nth-child(5) {
        min-width: 50px;
        max-width: 50px;
    }
    
    .sikret-standings-table th:nth-child(6),
    .sikret-standings-table td:nth-child(6) {
        min-width: 55px;
        max-width: 55px;
    }
    
    .sikret-standings-table th:nth-child(7),
    .sikret-standings-table td:nth-child(7) {
        min-width: 55px;
        max-width: 55px;
    }
    
    .sikret-standings-table th:nth-child(8),
    .sikret-standings-table td:nth-child(8) {
        min-width: 55px;
        max-width: 55px;
    }
    
    .sikret-standings-table th:nth-child(9),
    .sikret-standings-table td:nth-child(9) {
        min-width: 55px;
        max-width: 55px;
    }
    
    /* Enhanced scrollbar for standings table */
    .sikret-standings .sikret-table-wrapper::-webkit-scrollbar {
        height: 8px;
    }
    
    .sikret-standings .sikret-table-wrapper::-webkit-scrollbar-track {
        background: #f1f3f4;
        border-radius: 4px;
    }
    
    .sikret-standings .sikret-table-wrapper::-webkit-scrollbar-thumb {
        background: #ef9d2f;
        border-radius: 4px;
    }
    
    .sikret-standings .sikret-table-wrapper::-webkit-scrollbar-thumb:hover {
        background: #d68910;
    }
    
    .sikret-no-standings {
        padding: 20px 15px;
    }
    
    /* Combined layout responsive */
    .sikret-schedule-combined {
        margin: 15px 0;
    }
    
    .sikret-content-wrapper {
        flex-direction: column;
        gap: 0;
    }
    
    .sikret-schedule-side {
        padding: 15px;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    .sikret-standings-side {
        padding: 15px;
    }
    
    /* New matches grid responsive */
    .sikret-matches-grid {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .sikret-schedule-side .sikret-subtitle,
    .sikret-standings-side .sikret-subtitle {
        font-size: 1em;
        margin: 0 0 10px 0;
    }
    
    .sikret-standings-side .sikret-group-name {
        font-size: 0.85em;
        margin: 0 0 12px 0;
    }
    
    .sikret-standings-side .sikret-standings-table {
        font-size: 0.8em;
    }
    
    .sikret-standings-side .sikret-standings-table th {
        padding: 6px 4px;
        font-size: 0.75em;
    }
    
    .sikret-standings-side .sikret-standings-table td {
        padding: 6px 4px;
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .sikret-schedule {
        margin: 10px 0;
        width: 100%;
        max-width: 100%;
    }
    
    .sikret-title {
        font-size: 1.2em;
        padding: 8px 12px;
    }
    
    .sikret-subtitle {
        font-size: 0.95em;
        margin: 12px 12px 8px 12px;
        padding-left: 8px;
    }
    
    .sikret-table {
        font-size: 0.8em;
        width: 100%;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
    
    .sikret-table thead,
    .sikret-table tbody,
    .sikret-table tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }
    
    .sikret-table th,
    .sikret-table td {
        padding: 6px 4px;
        font-size: 0.8em;
        white-space: nowrap;
    }
    
    .sikret-table td:first-child {
        white-space: normal;
        min-width: 80px;
    }
    
    .sikret-upcoming {
        padding: 0 12px;
    }
    
    .sikret-upcoming li {
        padding: 6px 10px;
        font-size: 0.9em;
    }
    
    .sikret-no-matches {
        margin: 0 12px 12px 12px;
        padding: 15px 12px;
    }
    
    .sikret-error {
        margin: 12px;
        padding: 8px 12px;
    }
    
    /* Standings responsive for mobile */
    .sikret-standings {
        margin: 10px 0;
        width: 100%;
        max-width: 100%;
    }
    
    .sikret-standings .sikret-title {
        font-size: 1.2em;
        padding: 8px 12px;
    }
    
    .sikret-group-name {
        padding: 6px 12px;
        font-size: 0.9em;
    }
    
    .sikret-standings-table {
        font-size: 0.7em;
        width: 100%;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
    
    .sikret-standings-table thead,
    .sikret-standings-table tbody,
    .sikret-standings-table tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }
    
    .sikret-standings-table th {
        padding: 4px 2px;
        font-size: 0.7em;
        text-align: center;
    }
    
    .sikret-standings-table td {
        padding: 4px 2px;
        font-size: 0.75em;
        text-align: center;
    }
    
    .sikret-standings-table th:nth-child(2),
    .sikret-standings-table td.sikret-team-name {
        padding-left: 6px;
        text-align: left;
    }
    
    .sikret-no-standings {
        padding: 15px 12px;
    }
    
    /* Combined layout mobile */
    .sikret-schedule-combined {
        margin: 10px 0;
    }
    
    .sikret-schedule-side,
    .sikret-standings-side {
        padding: 12px;
    }
    
    .sikret-schedule-side .sikret-subtitle,
    .sikret-standings-side .sikret-subtitle {
        font-size: 0.95em;
        margin: 0 0 8px 0;
    }
    
    .sikret-standings-side .sikret-group-name {
        font-size: 0.8em;
        margin: 0 0 10px 0;
    }
    
    .sikret-standings-side .sikret-standings-table {
        font-size: 0.7em;
    }
    
    .sikret-standings-side .sikret-standings-table th {
        padding: 4px 2px;
        font-size: 0.7em;
    }
    
    .sikret-standings-side .sikret-standings-table td {
        padding: 4px 2px;
        font-size: 0.75em;
    }
}

/* Extra small screens - optimized compact layout */
@media (max-width: 360px) {
    .sikret-schedule,
    .sikret-standings {
        margin: 8px 0;
        border-radius: 6px;
    }
    
    .sikret-title {
        font-size: 1.1em;
        padding: 8px 12px;
    }
    
    .sikret-group-name {
        padding: 6px 12px;
        font-size: 0.85em;
    }
    
    /* Enhanced table wrapper for extra small screens */
    .sikret-table-wrapper {
        border-radius: 4px;
    }
    
    .sikret-standings-table {
        font-size: 0.75em;
        width: auto !important;
        min-width: 1000px !important;
        table-layout: fixed;
        /* Force horizontal scroll */
        display: table !important;
    }
    
    .sikret-standings-table th {
        padding: 8px 4px;
        font-size: 0.7em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .sikret-standings-table td {
        padding: 8px 4px;
        font-size: 0.75em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Optimized column widths for extra small screens */
    .sikret-standings-table th:nth-child(1),
    .sikret-standings-table td:nth-child(1) {
        min-width: 40px;
        max-width: 40px;
    }
    
    .sikret-standings-table th:nth-child(2),
    .sikret-standings-table td.sikret-team-name {
        min-width: 140px;
        max-width: 140px;
        padding-left: 8px;
    }
    
    .sikret-standings-table th:nth-child(3),
    .sikret-standings-table td:nth-child(3),
    .sikret-standings-table th:nth-child(4),
    .sikret-standings-table td:nth-child(4) {
        min-width: 40px;
        max-width: 40px;
    }
    
    .sikret-standings-table th:nth-child(5),
    .sikret-standings-table td:nth-child(5) {
        min-width: 45px;
        max-width: 45px;
    }
    
    .sikret-standings-table th:nth-child(6),
    .sikret-standings-table td:nth-child(6),
    .sikret-standings-table th:nth-child(7),
    .sikret-standings-table td:nth-child(7),
    .sikret-standings-table th:nth-child(8),
    .sikret-standings-table td:nth-child(8),
    .sikret-standings-table th:nth-child(9),
    .sikret-standings-table td:nth-child(9) {
        min-width: 50px;
        max-width: 50px;
    }
    
    /* Enhanced table styles for extra small screens */
    .sikret-table {
        font-size: 0.8em;
        width: auto !important;
        min-width: 800px !important;
        table-layout: fixed;
        /* Force horizontal scroll */
        display: table !important;
    }
    
    .sikret-table th,
    .sikret-table td {
        padding: 6px 4px;
        font-size: 0.8em;
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
    }
    
    .sikret-table td:first-child {
        white-space: normal;
        min-width: 110px;
        max-width: 110px;
        font-weight: 600;
    }
    
    .sikret-table td:nth-child(2) {
        min-width: 180px;
        max-width: 180px;
    }
    
    .sikret-table td:nth-child(3) {
        min-width: 180px;
        max-width: none;
        text-align: center;
        font-weight: 700;
        color: #333;
        white-space: nowrap;
        overflow: visible;
        word-break: keep-all;
    }
    
    /* Combined layout extra small */
    .sikret-schedule-combined {
        margin: 8px 0;
    }
    
    .sikret-schedule-side,
    .sikret-standings-side {
        padding: 8px;
    }
    
    .sikret-schedule-side .sikret-subtitle,
    .sikret-standings-side .sikret-subtitle {
        font-size: 0.9em;
        margin: 0 0 6px 0;
    }
    
    .sikret-standings-side .sikret-group-name {
        font-size: 0.75em;
        margin: 0 0 8px 0;
    }
    
    .sikret-standings-side .sikret-standings-table {
        font-size: 0.65em;
    }
    
    .sikret-standings-side .sikret-standings-table th {
        padding: 3px 1px;
        font-size: 0.65em;
    }
    
    .sikret-standings-side .sikret-standings-table td {
        padding: 3px 1px;
        font-size: 0.7em;
    }
}

/* Removed all hover effects to prevent mobile shadows */

/* Touch-friendly interactions - removed active states to prevent shadows */
@media (hover: none) and (pointer: coarse) {
    .sikret-table-wrapper {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .sikret-table,
    .sikret-standings-table {
        border: 2px solid #000;
    }
    
    .sikret-table th,
    .sikret-standings-table th {
        background: #000;
        color: #fff;
    }
    
    .sikret-table td,
    .sikret-standings-table td {
        border-bottom: 1px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .sikret-table tbody tr,
    .sikret-standings-table tbody tr,
    .sikret-table-wrapper::after {
        transition: none;
    }
    
    .sikret-table-wrapper {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .sikret-schedule,
    .sikret-standings {
        margin: 10px 0;
        border: 1px solid #000;
        page-break-inside: avoid;
        box-shadow: none;
    }
    
    .sikret-table,
    .sikret-standings-table {
        font-size: 10pt;
        border-collapse: collapse;
    }
    
    .sikret-title {
        color: #000 !important;
        background: #f0f0f0 !important;
    }
    
    .sikret-table-wrapper {
        overflow: visible;
        box-shadow: none;
    }
    
    .sikret-table th,
    .sikret-standings-table th {
        background: #f0f0f0 !important;
        color: #000 !important;
    }
}