/**
 * @file app/admin/styles/language-wizard.css
 * @brief Admin module for language-wizard.css
 * 
 * @version 
 *  - Major: 1
 *  - Minor: 1
 *  - Subversion: 0
 * 
 * @date 
 *  - Created: 2025-08-07 11:33:53
 *  - Modified: 2025-08-07 11:33:53
 * 
 * @author [core] Informationstechnologie
 * 
 * @copyright [core] Informationstechnologie, 2025
 */


/* Language Wizard Component Styles */

.language-wizard {
    padding: 20px;
}

.language-table {
    width: 100%;
}

.language-completeness {
    display: flex;
    align-items: center;
    gap: 10px;
}

.completeness-bar {
    width: 100px;
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.completeness-fill {
    height: 100%;
    transition: width 0.3s ease;
}

.completeness-fill.high {
    background: #28a745;
}

.completeness-fill.medium {
    background: #ffc107;
}

.completeness-fill.low {
    background: #dc3545;
}

.language-flag {
    font-size: 1.2em;
    margin-right: 5px;
}

.missing-translation-item {
    padding: 10px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.missing-translation-item:last-child {
    border-bottom: none;
}

.translation-key {
    font-family: monospace;
    font-weight: 600;
}

.translation-languages {
    color: #6c757d;
    font-size: 0.875rem;
}

.translation-editor {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 15px;
}

.translation-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.translation-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.translation-key-label {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 5px;
    font-family: monospace;
}

.translation-input-group {
    position: relative;
}

.translation-input-group .info-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    cursor: help;
}

.language-actions {
    display: flex;
    gap: 10px;
}

.import-preview {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 15px;
    margin-top: 15px;
}

.import-preview h6 {
    margin-bottom: 10px;
    color: #495057;
}

.import-preview-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.import-preview-label {
    font-weight: 600;
    color: #6c757d;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

.language-search {
    margin-bottom: 20px;
}

.language-search input {
    width: 100%;
}

@media (max-width: 768px) {
    .language-actions {
        flex-direction: column;
    }
    
    .language-table {
        font-size: 0.875rem;
    }
    
    .completeness-bar {
        width: 60px;
    }
}