.wtc-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 1200px;
    margin: 20px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #e1e1e1;
}

.wtc-header {
    background: #4A90E2;
    color: #fff;
    padding: 25px;
    text-align: center;
}

.wtc-header h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.wtc-header p {
    margin: 5px 0 0;
    opacity: 0.9;
}

.wtc-tabs {
    display: flex;
    flex-wrap: wrap;
    background: #f8f9fa;
    border-bottom: 1px solid #e1e1e1;
}

.wtc-tab {
    padding: 15px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.wtc-tab:hover {
    color: #4A90E2;
    background: #f0f7ff;
}

.wtc-tab.active {
    color: #4A90E2;
    border-bottom-color: #4A90E2;
    background: #fff;
}

.wtc-filters {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.wtc-filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 150px;
}

.wtc-search-group {
    flex-grow: 1;
    max-width: 400px;
}

.wtc-filter-group label {
    font-size: 11px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
}

.wtc-filter-group select,
.wtc-filter-group input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    transition: border-color 0.2s;
}

.wtc-filter-group input:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.1);
}

/* Base Table Structure */
.wtc-table-header {
    display: grid;
    grid-template-columns: repeat(3, 1fr 60px 100px);
    background: #f1f1f1;
    border-bottom: 1px solid #ddd;
}

.wtc-col-header {
    padding: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
}

.wtc-col-header.center { text-align: center; }
.wtc-col-header.right { text-align: right; }

.wtc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr 60px 100px);
}

.wtc-item {
    display: contents;
}

.wtc-item > div {
    padding: 12px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.wtc-item.alt > div {
    background: #fafafa;
}

.wtc-item:hover > div {
    background: #f0f7ff;
}

/* Vertical Column Lines - 3 Columns */
.wtc-table-header > div:nth-child(3),
.wtc-table-header > div:nth-child(6),
.wtc-grid > div:nth-child(9n+3),
.wtc-grid > div:nth-child(9n+6) {
    border-right: 2px solid #e2e8f0;
}

.wtc-city-info {
    flex-direction: column;
    align-items: flex-start !important;
}

.wtc-city-name {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cap-tag {
    font-size: 8px;
    background: #fff3cd;
    color: #856404;
    padding: 1px 4px;
    border-radius: 3px;
}

.wtc-country-name {
    font-size: 10px;
    color: #999;
}

.wtc-gmt-offset {
    justify-content: center;
    font-family: monospace;
    font-size: 11px;
    color: #666;
}

.wtc-time {
    justify-content: flex-end;
    font-weight: 700;
    font-family: monospace;
    color: #4A90E2;
}

.wtc-footer {
    padding: 15px 25px;
    font-size: 12px;
    color: #aaa;
    background: #f9f9f9;
    text-align: center;
}

/* Tablet Breakpoint (2 Columns) */
@media (max-width: 1024px) {
    .wtc-table-header, .wtc-grid {
        grid-template-columns: repeat(2, 1fr 60px 100px);
    }
    .desktop-only { display: none; }

    /* Remove 3rd column lines, add 2nd column line */
    .wtc-table-header > div:nth-child(6),
    .wtc-grid > div:nth-child(9n+6) {
        border-right: none;
    }
    .wtc-table-header > div:nth-child(3),
    .wtc-grid > div:nth-child(6n+3) {
        border-right: 2px solid #e2e8f0;
    }
}

/* Mobile Breakpoint (1 Column) */
@media (max-width: 640px) {
    .wtc-table-header { display: none; }
    .wtc-grid {
        grid-template-columns: 1fr 60px 100px;
    }
    .wtc-filters { flex-direction: column; }
    .wtc-search-group { max-width: none; }

    /* Remove all vertical column lines */
    .wtc-grid > div:nth-child(6n+3),
    .wtc-grid > div:nth-child(9n+3) {
        border-right: none;
    }
}