.translation-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    font-family: inherit;
}

.translation-form {
    margin-bottom: 3rem;
}

.input-group {
    margin-bottom: 2rem;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.required {
    color: #e74c3c;
    margin-right: 4px;
}

.input-group input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.input-group input:focus {
    outline: none;
    border-color: #3498db;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
}

.input-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #7f8c8d;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #2980b9;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: #3498db;
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1.2rem;
}

.translations-list {
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.translations-list h3 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.2rem;
}

.translation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
    margin-bottom: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.translation-item:hover {
    transform: translateX(-5px);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.translation-text {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.original,
.translated {
    font-size: 1rem;
}

.arrow {
    color: #95a5a6;
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    transform: scaleX(-1);
    /* Flip arrow for RTL */
}

.delete-btn {
    padding: 0.6rem 1.2rem;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.delete-btn:hover {
    background: #c0392b;
}

@media (max-width: 768px) {
    .translation-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .translation-text {
        position: relative;
    }

}
li.delete-loading {
    filter: blur(3px);
    pointer-events: none;
}