.modern-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.modern-table thead {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.modern-table th {
    color: white;
    font-weight: 600;
    padding: 20px 16px;
    text-align: left;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.modern-table.small th {
    padding: 15px 10px;
    font-size: 12px;
}

.modern-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.modern-table tbody tr:hover {
    background: #f8fafc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

.modern-table td {
    padding: 18px 16px;
    font-size: 14px;
    color: #4a5568;
    vertical-align: middle;
}
.modern-table td {
    padding: 12px 8px;
    font-size: 12px;
}

.score-cell {
    font-weight: 600;
    text-align: center;
    position: relative;
}

.score-high {
    color: #38a169;
    background: #f0fff4;
    border-radius: 6px;
    padding: 6px 12px;
}

.score-medium {
    color: #d69e2e;
    background: #fffbf0;
    border-radius: 6px;
    padding: 6px 12px;
}

.score-na {
    color: #a0aec0;
    font-style: italic;
}

.language-name {
    font-weight: 600;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-flag {
    width: 24px;
    height: 18px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.period-cell {
    font-weight: 600;
    color: #2d3748;
}

.places-cell {
    font-weight: 700;
    font-size: 16px;
    color: #667eea;
}

.date-cell {
    color: #718096;
    font-size: 13px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-available {
    background: #c6f6d5;
    color: #22543d;
}

.warning-message {
    background: #fed7d7;
    color: #742a2a;
    padding: 16px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #e53e3e;
    font-size: 14px;
}

.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.info-card {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.info-card h4 {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-card p {
    color: #718096;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .modern-table {
        font-size: 12px;
    }

    .modern-table th,
    .modern-table td {
        padding: 12px 8px;
    }

    .table-section {
        padding: 20px;
    }
}

.preview tbody {
    display: block;
    max-height: 260px;
    overflow-y: scroll;
}

.preview thead, .preview tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}
