.modal-content {
    background-color: white;
    width: 95vw;
    max-width: 1200px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background-color: #f9fafb;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.modal-body {
    flex: 1;
    overflow: hidden;
    background-color: white;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    background-color: #f9fafb;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.table-scroll {
    overflow: auto;
    height: calc(85vh - 180px);
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    text-align: left;
    color: #374151;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.sticky-col {
    position: sticky;
    left: 0;
    z-index: 10;
    background: #f9fafb;
    border-right: 1px solid #e5e7eb;
    min-width: 200px;
}

.translation-cell {
    min-width: 300px;
    max-width: 400px;
    white-space: pre-wrap;
    word-break: break-word;
    position: relative;
    padding: 12px 16px;
}

.source-lang-cell {
    background-color: #eff6ff !important;
}

.failed-cell {
    background-color: #fef2f2 !important;
    color: #dc2626;
}

.modified-cell {
    background-color: #fffbeb !important;
}

.translation-tooltip {
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 8px;
    padding: 8px 12px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    width: 280px;
    z-index: 40;
}
