/* ==========================================
   TRANSLATIONS
   ========================================== */

.language-selector-section {
        background: white;
        border-radius: 12px;
        padding: 2rem;
        margin-bottom: 2rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .language-selector {
        margin-bottom: 2rem;
    }

    .selector-label {
        display: block;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 1rem;
        font-size: 1.1rem;
    }

    .language-buttons {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .language-btn {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem 1.5rem;
        border: 2px solid #e0e0e0;
        background: white;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.2s ease;
        font-size: 1rem;
    }

    .language-btn:hover {
        border-color: #1a4d6f;
        background: #f0f9ff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .language-btn.active {
        background: linear-gradient(135deg, #1a4d6f 0%, #2c5f7f 100%);
        color: white;
        border-color: #1a4d6f;
    }

    .flag {
        font-size: 1.5rem;
    }

    .lang-name {
        font-weight: 600;
    }

    .lang-code {
        opacity: 0.7;
        font-size: 0.85rem;
    }

    .translation-stats {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
        padding-top: 2rem;
        border-top: 1px solid #e0e0e0;
    }

    .stat-card {
        text-align: center;
        padding: 1rem;
        background: #f8f9fa;
        border-radius: 8px;
        transition: all 0.2s ease;
    }

    .stat-card.active {
        background: linear-gradient(135deg, #1a4d6f 0%, #2c5f7f 100%);
        color: white;
        box-shadow: 0 6px 16px rgba(26, 77, 111, 0.3);
        transform: translateY(-2px);
    }

    .stat-card.active .stat-value {
        color: white;
    }

    .stat-card.active .stat-label {
        color: rgba(255, 255, 255, 0.9);
    }

    .stat-value {
        font-size: 2rem;
        font-weight: bold;
        color: #1a4d6f;
    }

    .stat-label {
        font-size: 0.9rem;
        color: #666;
        margin-top: 0.25rem;
    }

    .category-tabs {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
        margin-bottom: 2rem;
        padding: 1rem;
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .category-tab {
        padding: 0.75rem 1.25rem;
        border: 2px solid #e0e0e0;
        background: white;
        border-radius: 8px;
        cursor: pointer;
        font-weight: 500;
        color: #555;
        transition: all 0.2s ease;
    }

    .category-tab:hover {
        border-color: #1a4d6f;
        color: #1a4d6f;
        background: #f0f9ff;
    }

    .category-tab.active {
        background: #1a4d6f;
        color: white;
        border-color: #1a4d6f;
    }

    .category-count {
        opacity: 0.7;
        font-size: 0.85rem;
    }

    .translation-editor {
        background: white;
        border-radius: 12px;
        padding: 2rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .editor-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        border-bottom: 2px solid #e0e0e0;
    }

    .editor-header h2 {
        color: #2c3e50;
        margin: 0;
    }

    .editor-actions {
        display: flex;
        gap: 1rem;
    }

    .translations-list {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .translation-item {
        padding: 1.5rem;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        background: #f8f9fa;
        transition: all 0.2s ease;
    }

    .translation-item:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-color: #1a4d6f;
    }

    .translation-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 1rem;
    }

    .key-info {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .key-badge {
        display: inline-block;
        padding: 0.25rem 0.75rem;
        background: #1a4d6f;
        color: white;
        border-radius: 4px;
        font-family: monospace;
        font-size: 0.9rem;
        font-weight: 600;
    }

    .key-description {
        color: #666;
        font-size: 0.9rem;
        font-style: italic;
    }

    .translation-actions {
        display: flex;
        gap: 0.5rem;
    }

    .reference-translation {
        padding: 0.75rem;
        background: #fff3cd;
        border-left: 4px solid #ffc107;
        border-radius: 4px;
        margin-bottom: 1rem;
        font-size: 0.95rem;
    }

    .reference-label {
        font-weight: 600;
        margin-right: 0.5rem;
    }

    .reference-text {
        color: #555;
    }

    .translation-input {
        position: relative;
    }

    .translation-textarea {
        width: 100%;
        padding: 1rem;
        border: 2px solid #e0e0e0;
        border-radius: 6px;
        font-size: 1rem;
        font-family: inherit;
        resize: vertical;
        transition: border-color 0.2s ease;
    }

    .translation-textarea:focus {
        outline: none;
        border-color: #1a4d6f;
        box-shadow: 0 0 0 3px rgba(26, 77, 111, 0.1);
    }

    .missing-indicator {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.25rem 0.75rem;
        background: #ffebee;
        color: #c62828;
        border-radius: 4px;
        font-size: 0.85rem;
        font-weight: 600;
    }

    .translated-indicator {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.25rem 0.75rem;
        background: #e8f5e9;
        color: #2e7d32;
        border-radius: 4px;
        font-size: 0.85rem;
        font-weight: 600;
    }

    .no-selection {
        text-align: center;
        padding: 4rem 2rem;
    }

    .no-selection-icon {
        font-size: 5rem;
        margin-bottom: 1rem;
        opacity: 0.5;
    }

    .no-selection h3 {
        color: #2c3e50;
        margin-bottom: 0.5rem;
    }

    .no-selection p {
        color: #666;
    }

    @@media (max-width: 768px) {
        .language-buttons {
            flex-direction: column;
        }

        .language-btn {
            width: 100%;
        }

        .translation-stats {
            grid-template-columns: repeat(2, 1fr);
        }

        .editor-header {
            flex-direction: column;
            gap: 1rem;
        }

        .editor-actions {
            width: 100%;
            flex-direction: column;
        }

        .editor-actions button {
            width: 100%;
        }
    }



