.et-translate-container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 30px;
    border-radius: 16px;
    max-width: 650px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.et-translate-container:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.et-title-header {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.025em;
}

.et-controls {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
    align-items: end;
    margin-bottom: 25px;
}

.et-field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.et-field-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.et-lang-select {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    font-size: 15px;
    color: #334155;
    outline: none;
    transition: all 0.2s ease;
    cursor: pointer;
    width: 100%;
}

.et-lang-select:focus {
    border-color: #3b82f6;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.et-start-btn {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
}

.et-start-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

.et-start-btn:active:not(:disabled) {
    transform: translateY(1px);
}

.et-start-btn:disabled {
    background: #cbd5e1;
    color: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
}

.et-progress-wrapper {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    animation: fadeIn 0.4s ease forwards;
}

.et-progress-bar-bg {
    width: 100%;
    background: #e2e8f0;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 12px;
}

.et-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    width: 0;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.et-status-text {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
}

.et-log-wrapper {
    margin-top: 15px;
}

.et-log-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.et-log {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 12px;
    line-height: 1.6;
    color: #e2e8f0;
    background: #0f172a;
    border-radius: 8px;
    max-height: 220px;
    overflow-y: auto;
    padding: 15px;
    border: 1px solid #1e293b;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.25);
}

.et-log div {
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    padding-bottom: 4px;
}

.et-log div:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .et-controls {
        grid-template-columns: 1fr;
    }
    .et-start-btn {
        width: 100%;
    }
}

/* Minimalist Vertical View (JetEngine Integration) */
.et-translate-container.et-minimal {
    padding: 12px !important;
    margin: 0 !important;
    max-width: 100% !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
}
.et-translate-container.et-minimal .et-controls {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    margin-bottom: 0 !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.et-translate-container.et-minimal .et-lang-select,
.et-translate-container.et-minimal .et-source-lang-select {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 8px 10px !important;
    font-size: 13px !important;
    height: 38px !important;
    border-radius: 6px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
.et-translate-container.et-minimal .et-start-btn {
    flex: 0 0 auto !important;
    width: auto !important;
    padding: 8px 16px !important;
    height: 38px !important;
    font-size: 13px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
.et-translate-container.et-minimal .et-icon-btn {
    flex: 0 0 auto !important;
    width: 38px !important;
    padding: 8px !important;
    height: 38px !important;
    font-size: 16px !important;
    border-radius: 6px !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}
.et-translate-container.et-minimal .et-icon-btn:hover {
    background: #e2e8f0 !important;
    border-color: #cbd5e1 !important;
}
.et-translate-container.et-minimal .et-progress-wrapper {
    margin-top: 12px;
    padding: 12px;
    border-radius: 8px;
}
.et-translate-container.et-minimal .et-log {
    max-height: 100px;
    padding: 10px;
}