/* Dil Seçici Modal Stilleri */
.language-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.language-modal-content {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.5s ease-out;
    border: 2px solid #e9ecef;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.language-modal-header h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 600;
}

.language-modal-header p {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.language-option {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.language-option:hover {
    background: #007bff;
    border-color: #007bff;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.flag-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.language-name {
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .language-modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .language-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .language-option {
        padding: 15px 10px;
    }
    
    .flag-icon {
        font-size: 24px;
    }
    
    .language-name {
        font-size: 12px;
    }
}
